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

Gabe 🍰 Krabbe gabe at rtfs.de
Mon Jun 11 11:43:09 BST 2018


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20180611/8a156b86/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus-getservers.patch
Type: text/x-patch
Size: 4165 bytes
Desc: not available
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20180611/8a156b86/attachment.bin>


More information about the Dnsmasq-discuss mailing list