Nameserver software version

You did a DNS check and received the below warning message, not to worry.

One or more nameservers responded to version queries. This can be considered a breach of security. If a malicious person or program had access to a version-specific exploit for your DNS server, displaying the version info openly will make their attack much easier. This should be removed or obscured. The nameservers that responded to version queries are

Follow these simple steps to resolve.

  • Login to Shell as the root user of your server or VPS.Open your named configuration file:
    vi /etc/named.conf
  • Look for the options section, that looks something like this:

// Put files that named is allowed to write in the data/ directory:
directory “/var/named”; // the default
pid-file “/var/run/named/named.pid”;
dump-file “data/cache_dump.db”;
statistics-file “data/named_stats.txt”;
/* memstatistics-file “data/named_mem_stats.txt”; */
allow-transfer {“none”;};
};

  • Add this to the end so it looks the same as below: version “N/A”;
  • // Put files that named is allowed to write in the data/ directory:
    directory “/var/named”; // the default
    pid-file “/var/run/named/named.pid”;
    dump-file “data/cache_dump.db”;
    statistics-file “data/named_stats.txt”;
    /* memstatistics-file “data/named_mem_stats.txt”; */
    allow-transfer {“none”;};
    version “N/A”;
    };

  • Then save the file and restart BIND

Run another DNS test, the only thing that will be reported is what you put in the quotes.

If you have a VPS, or Dedicated Server with IDC Thailand and would like a representative to perform this for you, please contact support.

Related Post