[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: resolv.conf misbehaving



On Feb 25, 2014, at 9:12 AM, Patrick Ouellette <pouelle@debian.org> wrote:

> 
> Sounds like what you really want is for your local nameserver to forward the 
> query if it doesn't have the answer.  It might be helpful to look at the 
> forwarders option for named.conf.
> 
> resolv.conf would just need your local name server then.
> 
> Pat


Pat's correct. That's the proper way to do what you want.  If you like, you can have two forwarding server (for redundancy in case of failure of the primary server).

A good way to do that is with the dnsmasq package.  It provides both DNS (forwarding if you configure it) and DHCP.  Configuration is remarkably easy -- it uses /etc/hosts and /etc/ethers as input.

The ISC dhcp server is much more flexible, but (as a consequence) takes a lot of configuring.

Dnsmasq is *way* easier.


Rick

Reply to: