O'Reilly logo

Concise Guide to DNS and BIND, The by Nicolai Langfeldt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Testing It All

First, you should make sure that you can see any error messages BIND generates while you work with it. As root, in /etc/syslogd.conf change it to log daemon.info to some file, such as /var/log/named or /var/adm/named if that is the norm in your OS. Remember to HUP your syslogd and then open a window and run tail -f on the log file.

ndc: Starting, Restarting, and Reloading BIND

When, as root, you use the command ndc start, your nameserver will start. Your log window then should display some messages, such as the following (shown here slightly reformatted to fit on this page):

 Mar 28 21:23:58 localhost named[17576]: starting. named 8.2.2-P5 Sun Mar 5 09:57:01 CET 2000 ^Ijanl@lookfar:/usr/src/bind-8.2.2-P5/src/bin/named Mar 28 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required