Johannes' BIND page

Johannes Franken


  1. Intended purpose
  2. Minimal configuration
  3. Usage
  4. Logfiles
  5. Advanced topics
    1. Determining a remote DNS server's software
  6. Links

Intended purpose

bind (abb: Berkeley Internet Name Domain) is the prefered nameserver under Linux. As such its job is to

Minimal configuration

bind should




see /var/log/syslog or /var/log/messages.

You can set the detail level for the logfiles in named.conf:

// reduce log verbosity on issues outside our control
logging {
        category lame-servers { null; };
        category cname { null; };


Advanced topics

Determining a remote DNS server's software

You can remotely determine the software a remote DNS server is running on:
$ dig version.bind. txt CHAOS|grep -i "^V"
VERSION.BIND.           0S CHAOS TXT    "BIND 8.3.4"

Of course, you can also do that with bash and netcat:
$ whatdns() {
   printf 'begin-base64 644 -\np8IBAAABAAAAAAAAB3ZlcnNpb24EYmluZAAAEAADCg==\n===='|
   uudecode| nc -uw 1 $1 domain | strings| tail -1; }
$ whatdns
BIND 8.3.4
$ whatdns

However, bind-admins can overwrite the version-field with arbitrary text by setting options{version "...";} in named.conf:
$ whatdns
Surely you must be joking


$Id: bind.wml,v 1.14 2006/08/12 18:20:14 jfranken Exp $ [ChangeLog]
$Id:,v 1.82 2010-09-04 12:58:17 jfranken Exp $ [ChangeLog]
© Johannes Franken. Imprint and disclaimer
Valid XHTML 1.0!