summaryrefslogtreecommitdiff
path: root/dbus
diff options
context:
space:
mode:
authorSimon Kelley <simon@thekelleys.org.uk>2012-12-01 21:02:15 +0000
committerSimon Kelley <simon@thekelleys.org.uk>2012-12-01 21:02:15 +0000
commit295a54eed3b581b3b5887e773005c4fdd0d8f9b6 (patch)
tree5fcd0494eccf8c76cfa223d7dd4269fdda542e10 /dbus
parent2f38141f434e23292f84cefc33e8de76fb856147 (diff)
downloaddnsmasq-295a54eed3b581b3b5887e773005c4fdd0d8f9b6.tar.gz
SetDomainServers Dbus method.
Diffstat (limited to 'dbus')
-rw-r--r--dbus/DBus-interface17
1 files changed, 17 insertions, 0 deletions
diff --git a/dbus/DBus-interface b/dbus/DBus-interface
index 58ae03c..cbb6e82 100644
--- a/dbus/DBus-interface
+++ b/dbus/DBus-interface
@@ -137,6 +137,23 @@ Each call to SetServersEx completely replaces the set of servers
specified by via the DBus, but it leaves any servers specified via the
command line or /etc/dnsmasq.conf or /etc/resolv.conf alone.
+
+SetDomainServers
+----------------
+
+Yes another variation for setting DNS servers, with the capability of
+SetServersEx, but without using arrays of arrays, which are not
+sendable with dbus-send. The arguments are an array of strings which
+are identical to the equivalent arguments --server, so the example
+for SetServersEx is represented as
+
+[
+ "/foobar.com/1.2.3.4"
+ "/eng.mycorp.com/lab.mycorp.com/1003:1234:abcd::1%eth0"
+]
+
+
+
2. SIGNALS
----------