[Dnsmasq-discuss] Loading Dnsmasq before the interface is up
Tsachi
tsachi.kimel at gmail.com
Wed Aug 15 14:04:25 BST 2012
Hey,
I am using dnsmasq 2.60 on embedded Linux (kernel 2.6.35).
I want to load the dnsmaq before I'm loading my network interface.
So, as soon the interface is up, and an host sends an DHCP req ,
dnsmasq will be getting it.
The dnsmasq is getting notify via netlink for the new interface and
this works great.
But, after the link is up, I see is that although the dnsmasq listens
on 67 (for DHCP), it doesn't open a new listening socket on port 53
(for DNS).
Restarting the daemon seems to solve it, and both 67 and 53 are being
listening on.
So I believe that notification from netlink doesn’t trigger the call
for DNS listen.
Am I right or am I missing something?
If so, Is that on purpose?
Thanks,
More information about the Dnsmasq-discuss
mailing list