# -+- number -+- category -+- title -+- email -+- name -+- homepage -+- clickOnName -+- language -+- image -+- browser-used -+- security-cookie =0 -+- 2001-04-18:1 -+- System Administration -+- Having fun with BIND Version number. -+- mrafael@arrakis.es -+- Mario Rafael -+- -+- email -+- English -+- -+- Mozilla/4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) -+- 4176 Often when you have a large amount of DNS servers you tend to forget wich version of BIND you were running in each of them. With this little tips you will learn how to know wich version of bind you are running and how to change that version to show up anything you like. Ok.. start nslookup and type: > server target.host > set query=txt > set class=chaos > version.bind Server: localhost Address: 127.0.0.1 VERSION.BIND text = "8.2.3-REL" Ok this thing above is nice to show up to your friends to show them "the real BIND mastaH" inside you, but for usefullnes use the following script. #!/bin/bash for i in `cat iplist.txt`;do dig @$i txt chaos version.bind done It is obvious from the above that there NEEDS to exist a file named iplist in wich you specify the IP addresses of the name servers you want to check. Now comes the second part: Changing the BIND version shown by the above script. Fire up you prefered editor(vi) and edit /etc/named.conf and in the op options section type something similar to: version ":******"; Restart your bind and there yoy are. Mario Rafael.