-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Daniel Camps wrote:
| I have a LAN with and a gateway running Linux acting as a Firewall and
| NAT, it acts as a dhcp server as well. My question is about what are
| the differences or what is better, configure the dhcp server to
| configure the clients with the "public" dns server (the one that my
| ISP provides), or to configure a DNS server in the machine that acts
| as a gateway and configure the DNS of the other machines with the
| gateway machine adress?
Originally DNS was designed on the assumption that all DNS servers
have the same "view" of the DNS. So in a logical sense caching DNS
servers should be fungible (I love that word), so the only criteria
are technical consideration such as performance, reliability etc.
Obviously if your DNS servers have specific information about your
network not in the public "view" of the DNS, you only want to list
your DNS servers. i.e. only ever list DNS servers with a consistent
"view" of the DNS in resolv.conf. Never for example include an ISP
nameserver in resolv.conf "just in case", if the local DNS has extra
info that matters, because you really can't guarantee much about how
and in which order clients query DNS servers.
In general it is advisable to list more than one DNS server, in case
that service stops. So unless there is a specific reason not to
(i.e. one has private information the other doesn't) I'd list my
gateway machine, and one (or possibly two) of the ISPs DNS servers.
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Debian -
http://enigmail.mozdev.org
iD8DBQFBrkLvGFXfHI9FVgYRAhHlAJ9lrB0zkqqQ64K0C9CwEN zK4x2NHACgt04U
39MbaXr+RWdnfsDlPBlIQac=
=0FiM
-----END PGP SIGNATURE-----