dhcp-client passing ISP dsn info to dhcpd
Simon Hobson
dhcp at thehobsons.co.uk
Thu Apr 27 13:57:25 UTC 2006
Glenn Satchell wrote:
>The simplest way around this is to run your own caching domain name
>server. On the gateway client dhclient runs as it does now. But in
>dhcpd.conf you point all the private clients to your local dns server
>address. The only trick with this is that whenever the ISP changes the
>IP address of the DNS server you'll need to update the forwarding entry
>for your new DNS server.
Or simply don't reference the ISPs name servers at all. All you need*
in the dns config are local zones and the 'root hints' pseudo zone -
then the dns server will find stuff without reference to the ISPs
nameservers.
If you want to be a 'friendly neighbour' on the internet you'll also
want to define empty zones for all the private address spaces as well
- that way, if a client tries to resolve (eg) 10.11.12.13 you won't
go pestering the root servers for addresses that will never resolve.
IIRC, last time I set up a new machine (Debian) at work, these were
already in the default config.
Simon
PS - what's with ISPs that keep changing their DNS servers ?
More information about the dhcp-users
mailing list