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. >
You can tell it as much in /etc/hosts, it just won't figure it out on its own. Entries like 192.168.0.1 lizardhead lizardhead.example lizardhead.example.net will work. -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin, Historical Review of Pennsylvania, 1759. _______________________________________________ Eug-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
