[Dnsmasq-discuss] New dnsmasq router

Matt Ginzton matt at ginzton.net
Mon Dec 12 18:26:27 GMT 2011


> On the old centos box I had a dhclient-exit-hooks script that did some
> magic with my resolv.conf files so the firewall box could have the
> same name resolution as the clients on my network.

I recently set up an ubuntu server in the same role, and faced the same
problem, but I found that Google's public DNS servers are actually
faster than my ISP's nameservers (plus don't play games with mistyped
addresses), so I just hardcoded 8.8.8.8 in the dnsmasq.conf.

I did use a dhclient hook to tell it to stop writing to /etc/resolv.conf at all,
so that resolv.conf has only 127.0.0.1 as the nameserver.

Matt




More information about the Dnsmasq-discuss mailing list