First of all, thank you for the suggestions so far...
I have removed the nis entry from nsswitch.conf, but with no luck.
I'm quite frustrated by this. I have tried to provide all the
information anyone might need to diagnose this problem... I'm sure the
solution is very simple, but I just don't know hpux well enough. And I
have not been able to find any good answers in the admin manuals I have
downloaded; perhapse I am looking in the wrong place.
Will this help anyone?
CONFIGURATION AND SETTINGS:
Permissions:
=======================================
# ls -l /etc/{resolv.conf,nsswitch.conf}
-r--r--r-- 1 root sys 160 Apr 22 23:33 /etc/nsswitch.conf
-r--r--r-- 1 root root 86 Apr 25 13:31 /etc/resolv.conf
=======================================
Net Config:
=======================================
# tail /etc/rc.config.d/netconf
#
# RARP: Set to 1 to start rarpd daemon
#
RARP=0
LANCONFIG_ARGS[0]=ether
ROUTE_DESTINATION[0]=default
ROUTE_GATEWAY[0]=<router-ip-address>
ROUTE_COUNT[0]=1
=======================================
Domain Resolution:
=======================================
# cat /etc/resolv.conf
domain <my-search-domain>
nameserver <dns-server-ip-1>
nameserver <dns-server-ip-2>
=======================================
Search Order:
=======================================
# cat /etc/nsswitch.conf
hosts: files [NOTFOUND=return UNAVAIL=continue] dns [NOTFOUND=return
UNAVAIL=continue TRYAGAIN=return]
=======================================
Hosts:
=======================================
# tail -n 3 /etc/hosts
<my-ip-addr> <my-hostname>
127.0.0.1 localhost loopback
=======================================
Routing Table:
=======================================
# netstat -r
Routing tables
Destination Gateway Flags Refs Interface Pmtu
localhost localhost UH 0 lo0 4136
<my-host-name> <my-host-name> UH 0 lan0 4136
<my-network-addr> <my-host-name> U 2 lan0 1500
127.0.0.0 localhost U 0 lo0 0
default <router-ip> UG 0 lan0 0
=======================================
COMMUNICATIONS
Domain Server:
=======================================
# ping <domain-server-ip> 64 4
PING <domain-server-ip>: 64 byte packets
64 bytes from <domain-server-ip>: icmp_seq=0. time=36. ms
64 bytes from <domain-server-ip>: icmp_seq=1. time=31. ms
64 bytes from <domain-server-ip>: icmp_seq=2. time=30. ms
64 bytes from <domain-server-ip>: icmp_seq=3. time=33. ms
----<domain-server-ip> PING Statistics----
4 packets transmitted, 4 packets received, 0% packet loss
round-trip (ms) min/avg/max = 30/32/36
=======================================
Ping Yahoo! IP:
=======================================
# ping 66.94.230.33 64 4
PING 66.94.230.33: 64 byte packets
64 bytes from 66.94.230.33: icmp_seq=0. time=124. ms
64 bytes from 66.94.230.33: icmp_seq=1. time=119. ms
64 bytes from 66.94.230.33: icmp_seq=2. time=122. ms
64 bytes from 66.94.230.33: icmp_seq=3. time=121. ms
----66.94.230.33 PING Statistics----
4 packets transmitted, 4 packets received, 0% packet loss
round-trip (ms) min/avg/max = 119/121/124
=======================================
Ping Yahoo! Domain Name:
=======================================
# ping
www.yahoo.com
ping: unknown host
www.yahoo.com
=======================================
ATTEMPTS AT MODIFICATION
Attempt to add new Route:
=======================================
# route add default <my-router-ip>
add net default: gateway <my-router-ip>: Network is unreachable
=======================================
Ping Gateway:
=======================================
# ping <my-router-ip> 64 4
PING <my-router-ip>: 64 byte packets
64 bytes from <my-router-ip>: icmp_seq=0. time=0. ms
64 bytes from <my-router-ip>: icmp_seq=1. time=0. ms
64 bytes from <my-router-ip>: icmp_seq=2. time=0. ms
64 bytes from <my-router-ip>: icmp_seq=3. time=0. ms
----<my-router-ip> PING Statistics----
4 packets transmitted, 4 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/0
=======================================
SUMMARY
My computer has access to the local LAN. It has access to the internet,
and can see my Domain Name Servers and even Yahoo.com when asked via IP.
I have a sane routing table (afaik), but cannot add a new route. It
seems as though hpux simply does not know to use the DNS servers to
resolve domain names.
Thank you again for any help you might provide,
Tony G.