[Dnsmasq-discuss] dnsmasq / dns server / iptables config glitch?
adam.ant at cyberspaceroad.com
Thu Nov 26 19:00:12 GMT 2009
Brad Morgan <b-morgan at ...> writes:
> I have a very similar configuration. I think you are close but you may
> to tweak your DHCP client.
> Take a look at man dhclient.conf to see what might make sense for your
> configuration. I think "prepend domain-name-servers 127.0.0.1" may be
> you need.
> My /etc/dhclient-eth0.conf:
> supersede domain-name "morgan.local";
> supersede domain-name-servers 127.0.0.1,188.8.131.52,184.108.40.206;
> send host-name "bricknix"; # temporary RHL ifup addition
Actually I didn't realise how important those supersede commands were, but
without them, the clients on my network won't resolve the actual dnsmasq
The windows machine kept resolving the hostname isengard (name of the dnsm
machine) to 127.0.0.1! Pretty confusing, and nslookup on the windows machi
said something about non-existent domains and PTR records.
Anyway, all ship shape now.
More information about the Dnsmasq-discuss