On 24/05/14 09:43, Nic Ferrier wrote: > Simon Kelley <si...@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.
A suggestion: attach to the process using strace. That should give you information about where dnsmasq is getting queries from and sending them to, with a bit of interpretation. Post strace output here if you need help with interpretation. Cheers, Simon. > > > Nic > _______________________________________________ Dnsmasq-discuss mailing list Dnsmasqemail@example.com http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss