[Dnsmasq-discuss] Fwd: [PATCH] Add GetServers call to DBus API

Simon Kelley simon at thekelleys.org.uk
Tue Jun 12 16:46:44 BST 2018


Happy to apply the patch in principle. However the patch as supplied has
unrelated changes to do with using the session, rather than system, bus
when in debug mode. If that's useful, could it become a separate patch,
which also updates the man page for the -d option. If not could it be
removed.


(Just to prove that we do try to read patches before applying them,
here at Dnsmasq Towers.)

Cheers,

Simon.


On 11/06/18 11:43, Gabe 🍰 Krabbe wrote:
> Hi -
> 
> It's currently impossible to tell which upstream DNS servers are in use
> by dnsmasq; this is particularly irksome when they're controlled by
> NetworkManager or similar (grepping for syslog messages doesn't count as
> instrumentation...)
> 
> Here's a trivial implementation of a GetServes DBus call that returns
> the servers/domains (formatted for re-use in --servers flags). Ideally,
> there'd be a call like GetConfig or similar that dumps the entire active
> configuration in config-file format...
> 
> 
> Gabe
> -- 
> Do not think by infection, catching an opinion like a cold.
> 
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 




More information about the Dnsmasq-discuss mailing list