/etc/resolv.confcontains a nameserver that is alive (as reported by the
nslookupis able to resolve
$ host google.com google.com has address 220.127.116.11 google.com has address 18.104.22.168 ... $ nslookup google.com ... Non-authorative answer: Name: google.com Address: 22.214.171.124 Name: google.com Address: 126.96.36.199 ..
telnetis not able to resolve
$ ping google.com ping: unknown host google.com $ telnet google.com google.com: node name or service name not known
Adam, you do not tell us what version of Solaris you're using.
All host lookup on Solaris goes through the Solaris Naming Service daemon. The only exception is
I really, really hope you are on an older version, such as Solaris 10 or before. Otherwise you've now manually edited a file you are no longer supposed to edit : the
Anyway, lets say you are on Solaris 10 or older:
This tells the Solaris Naming Service that hosts should be looked up first in the local file (i.e.
You may now have to restart the naming service daemon:
You can always verify your naming service setup with the Solaris