[lug] DNS and hosts file

Ferdinand P. Schmid fschmid at archenergy.com
Wed Aug 23 14:40:15 MDT 2000

I am noticing that computers that act as caching and local DNS servers
are having problems with local name resolution.
- If I include the server itself in my resolv.conf then it won't go out
to the real DNS servers to look up Internet addresses.
- If I don't include the server in the resolv.conf then it can't look up
internal network addresses because it only searches the Internet
servers.  The workaround seems to be to enter all the local hosts also
in the local hosts file.

Is there a more elegant way to configure this so that I only need to
maintain one set of address tables for the DNS?  Basically I want to
tell the system to use the local DNS rather than the local hosts file.


Ferdinand Schmid
Architectural Energy Corporation
(303) 444-4149

More information about the LUG mailing list