[svlug] named/DNS or /etc/resolv.conf
Seth David Schoen
schoen at uclink4.berkeley.edu
Tue Oct 20 20:25:33 PDT 1998
John Conover writes:
> I have a small LAN at home using a Linux box as an Internet gateway to
> an ISP. With named/DNS running on the Linux box, the other computers
> on my LAN can access the Internet. The other computers on my LAN have
> the gateway listed as the DNS server. However, when I kill the DNS
> services, and put a record in /etc/resolv.conf "nameserver
> 123.456.789.123", the Linux box can access the Internet, but the other
> computers can't. Is there something else I have to do so that I don't
> have to run named?
Hmmm, since you're configuring the router yourself, you should be able to
make the other machines on your LAN access other DNS servers directly.
If you're using masquerading, their DNS queries will be masqueraded
properly; if you're not using masquerading, their DNS queries will be routed
So, if you're willing to go to each and every machine on your LAN and tell
it the equivalent of "nameserver 123.456.789.123", this will work.
Your alternative involves running named and setting it up to do forwarding
(essentially making named into a sort of DNS proxy server, which acts as
both server and client). If you don't want to run named, just configure
the other machines to access your upstream's DNS server directly!
Unlike IP connectivity, DNS knowledge is not really something which is shared
locally at the segment level; DNS is much more point-to-point, and you can
almost always point any computer at any DNS server. That's why Don Marti has
said that DNS is a consensus reality.
Seth David Schoen L&S '01 (undeclared) / schoen at uclink4.berkeley.edu
He said, "This is what the king who will reign over you will do." And they
said, "Nay, but we will have a king over us, that we also may be like all the
nations." (1 Sam 8) http://ishmael.geecs.org/~sigma/ http://www.loyalty.org/
echo "unsubscribe svlug" | mail majordomo at svlug.org
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ to unsubscribe
More information about the svlug