[Dnsmasq-discuss] dnsmasq and dbus - strange reset behaviour

Nic Ferrier nic at ferrier.me.uk
Sat May 24 08:43:32 UTC 2014


Simon Kelley <simon at thekelleys.org.uk> writes:

>> I guess I could try and alter dnsmasq's dbus handling myself to get it
>> to report the servers it's using... but it'll be tricky to get ubuntu to
>> use the new version I guess.
>
> Se above, it should be doing that. What version of dnsmasq are you
> using?

I am using 2.68, which is Ubuntu's.

I discovered that I can kill and start dnsmasq and then I can get it all
to work.

But if I just stop and restart the vpn, calling the dbus-send every
time, it does not work. Although dnsmasq syslogs that it's using the
right servers, it doesn't seem to be.

Even if I send it SIGHUP before I send the dbus-send, dnsmasq syslogs
the new servers but does not seem to use them.


Interestingly, when you look at the way Ubuntu's Network Manager behaves
it seems to do the same thing (restart dnsmasq) when you drop one of
it's native VPNs.


I've no idea how you'd test this.


Nic



More information about the Dnsmasq-discuss mailing list