Original Publication Date: 08/27/2009
Updated Date: 03/05/2013
You should consider using this procedure under the following condition:
You must meet the following prerequisite to use this procedure:
BIND is a daemon that processes Domain Name System (DNS) requests on the BIG-IP GTM system. By default, BIND responds with its version number when it receives a DNS request that sends a query. Typically a DNS request that queries for the BIND version number can be generated using either the dig (dig @<BIND IP> version.bind chaos txt) or nslookup (nslookup -type=txt -class=chaos version.bind <BIND IP>) utility. Depending on your requirement, you may want to change this default behavior and configure BIND on the BIG-IP GTM system to hide its version number when it responds to such a request. You can change this default behavior by adding a version parameter in the options section of the BIND configuration file. To do so, you can modify the BIND configuration file using either the command line or the Configuration utility, by performing one of the following procedures:
Configuring BIND to hide its version number using the command line
Impact of procedure: BIND may momentarily stop responding to DNS requests during the restart, and resume responding to the requests when the process successfully restarts.
bigstart stop zrd
Note: Stopping the zrd process does not prevent the GTM system from processing WideIP requests or BIND from processing DNS requests.
cd /var/named/config/
cp named.conf named.conf.original
version " ";
Note: You can type anything within the quotes, or leave the space between the quotes blank.
For example:
options {
listen-on port 53 {
127.0.0.1;
"zrd-acl-000-000";
};
listen-on-v6 port 53 {
::1;
};
recursion no;
directory "/config/namedb";
allow-transfer {
localhost;
};
version " ";
};
bigstart restart named
Restart the ZoneRunner process by entering the following command:
bigstart start zrd
dig @localhost version.bind chaos txt
dig @<listener IP address> version.bind chaos txt
After you make the modifications and restart the process, BIND returns a version query with the text designated within the quotation marks that you have configured in Step 6.
Configuring BIND to hide its version number using the Configuration utility
To configure BIND to hide its version number using the Configuration utility, perform the following procedure:
Impact of procedure: BIND may momentarily stop responding to DNS requests during the restart, and resume responding when the process successfully restarts.
version " ";
Note: You can add any text you want between the quotation marks. Spaces and non-alphanumeric characters will display.
Important: Make sure there is a semi-colon ( ; ) at the end of the definition.
dig @localhost version.bind chaos txt
dig @<listener IP address> version.bind chaos txt