John Oliver wrote:
On Solaris 10:

bash-3.00# nslookup sunsolve.sun.com
Server:         10.99.16.5
Address:        10.99.16.5#53

Non-authoritative answer:
Name:   sunsolve.sun.com
Address: 192.18.108.40

bash-3.00# ping sunsolve.sun.com
ping: unknown host sunsolve.sun.com
bash-3.00# ping 192.18.108.40
192.18.108.40 is alive

/etc/nsswitch.conf includes:

hosts:      files dns

When debugging, don't use nslookup. It is very old and very buggy at this point.

Use "dig"

You can do things like:

dig sunsolve.sun.com
dig sunsolve.sun.com @10.99.16.5
dig sunsolve.sun.com @ns2.sun.com
etc.

In order to hunt down where the DNS breakdown is.

Also, try using "sunsolve.sun.com." to help figure out if you are appending your own domain name to the query.

-a


--
KPLUG-List@kernel-panic.org
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to