Installing and Administering Internet Services

Chapter 3 101
Configuring and Administering the BIND Name Service
Troubleshooting the BIND Name Server
If host name lookups are failing, use ping with an IP address to test
network connectivity.
$ /usr/sbin/ping IP_address
The nsquery command
Issue the nsquery command to perform a hosts, passwd, or group
lookup, as follows:
/usr/contrib/bin/nsqurey lookup_typelookup_query
The nsquery command displays the Name Service Switch configuration
that is currently in use. Then, it displays the results of the query. For
more information, type man 1 nsquery at the HP-UX prompt.
The syslogd Utility
Informational and error messages relating to named are logged using
syslogd. By default, syslogd logs messages to the file
/var/adm/syslog/syslog.log, but the destination of these messages
is configurable. See “Installing and Configuring Internet Services” on
page 27 for information on syslogd.
Name Server Debugging
The debugging output from the name server goes to the file
/var/tmp/named.run. To turn on named debugging, issue the following
command:
/usr/sbin/sig_named debug level
where level is one of the following debugging levels:
1 This is the most useful debug level. It logs information
about transactions being processed. It logs the IP
address of the sender, the name looked up, and the IP
addresses of other servers queried.
2 The level lists the IP addresses about to be queried and
their current round trip time calculations. A secondary
server displays information about each zone it is
maintaining when it contacts a primary master to see
if a zone is up to date.
3 This level gives detailed information about internal
operation, most of it not useful. This level tells you
when a resolver retransmission is dropped, what name