Knowledge Base ISC Main Website Ask a Question/Contact ISC
How do I restrict people from looking up the server version?
Author: ISC Support Reference Number: AA-00307 Views: 2582 Created: 2011-05-16 14:20 Last Updated: 2017-01-25 01:18 0 Rating/ Voters

By default, BIND servers will answer a query in the chaos domain for a text record named "version.bind" (for example: "dig @ ch txt version.bind") with a string containing information about the server.

By default named will answer this query with the software version number of the server.  However, the answer is customizable by the operator -- if you wish to specify an answer that BIND will give instead, put a "version" option containing something other than the real version in the "options" section of named.conf, e.g. 'version "none of your business.";' or 'version none;' (where "none" is a special value which prevents the server from answering at all.

Note: many operators choose to do this, feeling that providing unnecessary information to attackers can only be harmful.  However, doing this will not prevent attacks and may impede people trying to diagnose problems with your server. Also, it is often possible to "fingerprint" nameservers to determine their version from the way they respond to specific queries, so suppressing the actual version string may not prevent an attacker from deducing your version from other clues..

© 2001-2018 Internet Systems Consortium

For assistance with problems and questions for which you have not been able to find an answer in our Knowledge Base, we recommend searching our community mailing list archives and/or posting your question there (you will need to register there first for your posts to be accepted). The bind-users and the dhcp-users lists particularly have a long-standing and active membership.

ISC relies on the financial support of the community to fund the development of its open source software products. If you would like to support future product evolution and maintenance as well having peace of mind knowing that our team of experts are poised to provide you with individual technical assistance whenever you call upon them, then please consider our Professional Subscription Support services - details can be found on our main website.

  • There is no feedback for this article
Quick Jump Menu