[Dnsmasq-discuss] dnsmasq / dns server / iptables config glitch?
Adam Hardy
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.
[snip]
> 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,208.67.222.222,208.67.220.220;
> #OpenDNS
> 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
machine.
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.
Ta
Adam
More information about the Dnsmasq-discuss
mailing list