NetworkManager/introspection/org.freedesktop.NetworkManager.DnsManager.xml
Beniamino Galvani e3c67177ac dns: export current configuration through D-Bus
It is useful to let clients retrieve the current DNS configuration,
which can be displayed to users or used (together with dns=none) to
implement custom DNS configuration logic through external tools.
2016-12-12 22:06:23 +01:00

39 lines
1.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<node name="/org/freedesktop/NetworkManager/DnsManager">
<!--
org.freedesktop.NetworkManager.DnsManager:
The interface contains DNS-related information.
-->
<interface name="org.freedesktop.NetworkManager.DnsManager">
<!--
Mode:
The current DNS processing mode.
-->
<property name="Mode" type="s" access="read"/>
<!--
RcManager:
The current resolv.conf management mode.
-->
<property name="RcManager" type="s" access="read"/>
<!--
Configuration:
The current DNS configuration represented as an array of
dictionaries. Each dictionary has the "nameservers",
"priority" keys and, optionally, "interface" and "vpn".
"nameservers" is the list of DNS servers, "priority" their
relative priority, "interface" the interface on which these
servers are contacted, "vpn" a boolean telling whether the
configuration was obtained from a VPN connection.
-->
<property name="Configuration" type="aa{sv}" access="read"/>
</interface>
</node>