[ BINDInfo Extension for nlog ]

To add this extension to nlog:

Compile binfo-udp.c

	$gcc -o bindinfo binfo-udp.c

	Copy bindinfo to a convenient place, chmod 755 it and add
	this line to your nlog-config.ph file:

	$bindinfo = "/path/to/bindinfo";

	Now open up nlog-search.pl, and scroll to the part where it says:


-- cut from nlog-search.pl --

1: # here we place each cgi-handler into a temp var for readability.
2: 
3: $cgiSunRPC = "sunrpc+$cgidir/nlog-rpc.pl+SunRPC";
4: $cgiSMB    = "netbios-ssn+$cgidir/nlog-smb.pl+NetBIOS";
5: $cgiFinger = "finger+$cgidir/nlog-finger.pl+Finger";
6: 
7: $qcgilinks ="$cgiSunRPC $cgiSMB $cgiFinger";

-----------------------------

Add a line under line 5 that looks like:

	$cgiBIND = "domain+$cgidir/nlog-bind.pl+BIND";

And change line 7 to look like:

	$qcgilinks ="$cgiSunRPC $cgiSMB $cgiFinger $cgiBIND";

Now copy the nlog-bind.pl file from this directory into
your cgi-bin directory with the other scripts.  chmod 755
it and open up nlog.html in your browser.  Load a database
with some hosts that have port 53 open and you should see
a new link that says BIND in the service column where just
'domain' used to be.  Click this and it may tell you the
version of bind that host is running.


