From: Yu Watanabe Date: Thu, 16 Mar 2017 05:30:16 +0000 (+0900) Subject: resolved: add global config option to control mDNS stack X-Git-Tag: v234~360^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=77525fdc8d60bff55b60b9e443401187204ddfe7;p=platform%2Fupstream%2Fsystemd.git resolved: add global config option to control mDNS stack --- diff --git a/man/resolved.conf.xml b/man/resolved.conf.xml index 4fc1ef1..7babc5c 100644 --- a/man/resolved.conf.xml +++ b/man/resolved.conf.xml @@ -127,6 +127,21 @@ + MulticastDNS= + Takes a boolean argument or + resolve. Controls Multicast DNS support (RFC 6762) on + the local host. If true, enables full Multicast DNS responder and + resolver support. If false, disables both. If set to + resolve, only resolution support is enabled, + but responding is disabled. Note that + systemd-networkd.service8 + also maintains per-link Multicast DNS settings. Multicast DNS will be + enabled on a link only if the per-link and the + global setting is on. + + + DNSSEC= Takes a boolean argument or allow-downgrade. If true all DNS lookups are diff --git a/src/resolve/resolved-gperf.gperf b/src/resolve/resolved-gperf.gperf index 446f85c..5153563 100644 --- a/src/resolve/resolved-gperf.gperf +++ b/src/resolve/resolved-gperf.gperf @@ -18,6 +18,7 @@ Resolve.DNS, config_parse_dns_servers, DNS_SERVER_SYSTEM, Resolve.FallbackDNS, config_parse_dns_servers, DNS_SERVER_FALLBACK, 0 Resolve.Domains, config_parse_search_domains, 0, 0 Resolve.LLMNR, config_parse_resolve_support, 0, offsetof(Manager, llmnr_support) +Resolve.MulticastDNS, config_parse_resolve_support, 0, offsetof(Manager, mdns_support) Resolve.DNSSEC, config_parse_dnssec_mode, 0, offsetof(Manager, dnssec_mode) Resolve.Cache, config_parse_bool, 0, offsetof(Manager, enable_cache) Resolve.DNSStubListener, config_parse_dns_stub_listener_mode, 0, offsetof(Manager, dns_stub_listener_mode) diff --git a/src/resolve/resolved.conf.in b/src/resolve/resolved.conf.in index 60afa15..e6b2062 100644 --- a/src/resolve/resolved.conf.in +++ b/src/resolve/resolved.conf.in @@ -16,6 +16,7 @@ #FallbackDNS=@DNS_SERVERS@ #Domains= #LLMNR=yes +#MulticastDNS=yes #DNSSEC=@DEFAULT_DNSSEC_MODE@ #Cache=yes #DNSStubListener=udp