[Dnsmasq-discuss] using only DHCP and propagating upstream nameservers

Chris Wilson chris+dnsmasq at aptivate.org
Sat Feb 16 12:03:53 GMT 2013


Hi Ondrej,

On Sat, 16 Feb 2013, Ondřej Grover wrote:

> Thank you, this would solve my problem if the nameservers listed in 
> /etc/resolv.conf on the server didn't change, but they do (the server is 
> more like a router, acquires IP and dns info from my ISP via DHCP).
>
> As dnsmasq is able to read /etc/resolv.conf on the server, I was hoping 
> there would be a way for dnsmasq to propagate the nameservers listed 
> there automagicaly to its clients.

If the DNS servers listed there change, there's no way to inform the DHCP 
clients of that. If they continue to use the old servers and those servers 
stop working, the clients will fail.

Just use dnsmasq to proxy to the DNS servers already. dnsmasq will 
automatically start forwarding queries to new servers when the list 
changes. And it will cache queries for you, so it will be faster.

Cheers, Chris.
-- 
Aptivate | http://www.aptivate.org | Phone: +44 1223 967 838
Future Business, Cam City FC, Milton Rd, Cambridge, CB4 1UY, UK

Aptivate is a not-for-profit company registered in England and Wales
with company number 04980791.


More information about the Dnsmasq-discuss mailing list