> `ping google.com' actually pings 127.0.0.1 but `host google' returns 
> the actual IP addresses for google.  

ping will resolve the name using the mecanism defined in
/etc/nsswitch.conf, usually:

   hosts: files dns nis

try first /etc/hosts, then DNS, then NIS

But host(1) command is designed to query DNS exclusively.

Hence the different recults.

Olivier
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to