[lug] DNS and hosts file
tbranam at firstworld.net
Wed Aug 23 14:52:47 MDT 2000
Are you using the DNS server's address (e.g. 192.168.0.1) or the localhost
address (127.0.0.1) in your resolve.conf? Also, what is in your named.conf?
Do you have a hints file?
From: lug-admin at lug.boulder.co.us [mailto:lug-admin at lug.boulder.co.us]On
Behalf Of Ferdinand P. Schmid
Sent: Wednesday, August 23, 2000 2:40 PM
Subject: [lug] DNS and hosts file
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.
Architectural Energy Corporation
Web Page: http://lug.boulder.co.us
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
More information about the LUG