On Sun, Mar 23, 2003 at 10:04:13AM -0800, Bob Miller wrote:
> Linux Rocks ! wrote:
> 
> > Doesnt this mean that it checks my /etc/hosts, then checks DNS for finding 
> > hostnames? 
> 
> Yes.  But keep in mind that /etc/hosts doesn't understand domain
> names.  If you have a hosts entry for lizardhead, but use the hostname
> lizardhead.example.net, libresolv won't realize they're the
> same host.

My /etc/hosts understand domain names:

10.1.0.6        www     www.petersen-arne.com www.adaptableit.com adaptableit.com 
petersen-arne.com

ping adaptableit.com
PING www (10.1.0.6): 56 data bytes
64 bytes from 10.1.0.6: icmp_seq=0 ttl=63 time=36.8 ms

Cory
_______________________________________________
Eug-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug

Reply via email to