Re: /etc/hosts file

Bill Gradwohl <[email protected]>
Newsgroups gmane.linux.redhat.release.enigma
Message-ID <[email protected]>
Cameron Simpson said:
>You don't need a name server for what you seem to want.
>Just use your company's name server.

Long story short, can't use a name server anywhere- period. Have to use a hosts file locally.

>But the "host" command is specificly for testing DNS.
>There wouldn't be any point to it if it consulted /etc/hosts.

Then what's the point of /etc/nsswitch.conf? It's my understanding that its the arbiter of how things are supposed to work.

>Ping doesn't do reverse lookups!
>You will find reverse lookup works just fine, if you use something that
>actually tries reverse lookup. Ping does not try.

The ping utility does reverse resolution unless you specify -n. Even Windoze ping does reverse resolution.



Bill Gradwohl
[email protected]
(817) 224-9400 x211
www.ycc.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.