[Dnsmasq-discuss] New dnsmasq router
ranceh at gmail.com
Mon Dec 12 17:56:23 GMT 2011
I recently retired my old centos based home firewall/router/dhcp/nat
server and replaced it with a ubuntu-server install.
Generally speaking it went flawlessly but one thing didn't work.
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.
My external interface is dhcp from the isp and for loadbalancing
reasons my isp dns servers are dynamic.
The easiest way to deal with this was to create a static
After a dhcp update and a new /etc/resolv.conf, I wrote a custom
dhclient-exit-hooks to copy the new resolv.conf file to
resolv.conf.forwards (the path that my dnsmasq config file is
expecting) and then copy the resolv.conf.perm to resolv.conf.
Only after the ubuntu setup this process does not work.
this isnt a dnsmasq problem per se but I was hoping that someone of
you out there are using ubuntu in this way and can help me figure out
what I did wrong.
I've googled, but I didn't find anything useful.
More information about the Dnsmasq-discuss