HP-UX Desktop Troubleshooting Guide

4.3.2 Problems related to DNS
Check the permissions of the /etc/hosts and /etc/nsswitch.conf files (the file
must have minimum read permissions for the owner, others, and the group). Also
check the /etc/nsswitch.conf file for the following entry according to the operating
system version:
If the operating system version is 11.11, check for the hosts entry in the
nsswitch.conf file.
This may be as follows:
hosts: dns [NOTFOUND=continue] files [This indicates that DNS
will first try to resolve the “hosts” entry. If it is not able to do so, then the
/etc/hosts file will be checked.]
hosts: files [NOTFOUND=return] dns [This indicates that the
/etc/hosts file will be checked first to resolve the hosts entry. In this case,
however, DNS will not be checked if the /etc/hosts file is unable to resolve
the entry.]
If the operating system version is 11.23 or higher, check for the following entries
in the nsswitch.conf file:
hosts entry may be as follows:
hosts: dns [NOTFOUND=continue] files
hosts: files [NOTFOUND=return] dns
ipnodes entry may be as follows:
ipnodes: dns [NOTFOUND=continue] files
ipnodes: files [NOTFOUND=return] dns
NOTE: Gr8 reference call:
http://gr8.mvlabs.corp.hp.com/gr8/stable/callEdit.pl?call=4000142281
For a similar problem as DNS, please refer the above link.
Check for the entries in /etc/resolv.conf. Please ensure that the following
entries are correct if you are using DNS:
domain <domain name>
nameserver <DNS IP address>
If the entries in the above-mentioned files are correct, verify the name server
configuration by running the following commands:
# nslookup <server_ip> and
# nslookup <server_domain_name>
and check for information related to name, address, and aliases.
4.3 Troubleshooting Problems related to Network 17