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 ...

Get Concise Guide to DNS and BIND, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.