How To Hide BIND DNS Sever Version

How To Hide BIND DNS Sever Version

To hide the version of a BIND DNS server, you can use the "version" directive in the BIND configuration file. This directive allows you to specify a custom version string that will be returned to clients when they query the server.

To hide the version of a BIND DNS server, follow these steps:

  1. Open the BIND configuration file, typically located at "/etc/named.conf" or "/etc/bind/named.conf".

  2. Add the following line to the global options section of the configuration file:

version "hidden";
Source‮‬:www.lautturi.com
  1. Save the configuration file and restart the BIND server by running the following command:
systemctl restart bind9

(Note: the exact command to restart BIND may vary depending on your system.)

With this configuration, BIND will return the custom version string "hidden" instead of the actual version number when queried by clients.

Note: Hiding the version of a DNS server can help to protect against certain types of attacks, but it is not a substitute for proper security measures such as keeping the server and its software up to date and configuring firewall rules to restrict access to the server.

Created Time:2017-10-28 21:38:52  Author:lautturi