[Dnsmasq-discuss] Loading Dnsmasq before the interface is up

Simon Kelley simon at thekelleys.org.uk
Wed Aug 15 14:23:23 BST 2012


On 15/08/12 14:15, Tsachi wrote:
> Just to correct, the dnsmasq was listening on 0.0.0.0:67 before the
> interface was up, so it is not the netlink message that cause it to
> listen and it was listening before.
> But still after the interface is up I don’t see the binding of the DNS.
> 
> And my config file is:
> 
> domain-needed
> bogus-priv
> bind-interfaces
> dhcp-range=10.0.0.10,10.0.0.10,10080m
> resolv-file=/etc/resolv.conf
> dhcp-authoritative
> 

Remove bind-interfaces from your configuration: that will cause dnsmasq
to listen on 0.0.0.0:53 also.

The behaviour you're looking for (bind addresses as interfaces come up)
is not available. It will be available in dnsmasq 2.63 using a new
option, bind-dynamic instead of bind-interfaces. Dnsmasq 2.63 is due any
day now.


Cheers,

Simon.




More information about the Dnsmasq-discuss mailing list