Installing and Administering Internet Services
128 Chapter3
Configuring and Administering the BIND Name Service
Starting the Name Server Daemon
Starting the Name Server Daemon
The name server daemon, /usr/sbin/named, must be running on every
primary, secondary, and caching-only name server. If youhave configured
your system to query a remote name server (that is, if you have created
an /etc/resolv.conf file that directs BIND queries to a name server on
another host), you do not have to run the named daemon on your host.
Before you start the name server daemon, make sure syslogd is
running. syslogd logs informational and error messages. For
information on configuring syslogd, see “Installing and Configuring
Internet Services” on page 27 in this manual.
Follow these steps to start the name server daemon:
1. In the /etc/rc.config.d/namesvrs file, set the NAMED environment
variable to 1, as follows:
NAMED=1
2. Issue the following command to determine whether named is already
running:
ps -ef | grep named
3. If named is not running, issue the following command to start it:
/sbin/init.d/named start
For more information, type man 1M named at the HP-UX prompt.
Verifying the Name Server
1. If you are running syslogd, check the
/var/adm/syslog/syslog.log file for error messages. If error
messages are recorded, see “Troubleshooting the BIND Name Server”
on page 136.
2. Start nslookup(1) with the following command:
/usr/bin/nslookup
3. At the > prompt, issue the server command to force nslookup to use
the server you want to test:
> server
BIND_server_hostname