summaryrefslogtreecommitdiff
path: root/src/systemd/sd-network.h
diff options
context:
space:
mode:
authorIwan Timmer <irtimmer@gmail.com>2018-05-04 17:31:16 +0200
committerIwan Timmer <irtimmer@gmail.com>2018-06-11 21:35:58 +0200
commitd050561ac3b3087ffcc0352db988518c120c1979 (patch)
tree82844d31b32a2b242cb34c291b0765162d33c515 /src/systemd/sd-network.h
parent5d67a7ae749deb744125de9301cc71689a22648a (diff)
downloadsystemd-d050561ac3b3087ffcc0352db988518c120c1979.tar.gz
resolve: make PrivateDNS configurable per link
Like with DNSSec, make PrivateDNS configurable per link, so you can have trusted and untrusted links.
Diffstat (limited to 'src/systemd/sd-network.h')
-rw-r--r--src/systemd/sd-network.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/systemd/sd-network.h b/src/systemd/sd-network.h
index 2d48946d2a..64bfb4fc09 100644
--- a/src/systemd/sd-network.h
+++ b/src/systemd/sd-network.h
@@ -129,6 +129,14 @@ int sd_network_link_get_llmnr(int ifindex, char **llmnr);
*/
int sd_network_link_get_mdns(int ifindex, char **mdns);
+/* Indicates whether or not Private DNS should be enabled for the
+ * link.
+ * Possible levels of support: strict, no, opportunistic
+ * Possible return codes:
+ * -ENODATA: networkd is not aware of the link
+ */
+int sd_network_link_get_private_dns(int ifindex, char **private_dns);
+
/* Indicates whether or not DNSSEC should be enabled for the link
* Possible levels of support: yes, no, allow-downgrade
* Possible return codes: