RESOLVED.CONF(5) resolved.conf RESOLVED.CONF(5) NAME resolved.conf, resolved.conf.d - SYNOPSIS /etc/systemd/resolved.conf /etc/systemd/resolved.conf.d/*.conf /run/systemd/resolved.conf.d/*.conf /usr/lib/systemd/resolved.conf.d/*.conf DNSLLMNR /etc/systemd/ /usr/lib/systemd/*.conf.d/ /etc/ *.conf.d/ *.conf.d/ () () *.conf.d/ /usr/lib/ /etc/ /dev/null /usr/lib/ "[Resolve]" DNS= IPv4 IPv6 DNS DNS systemd-networkd.service(8) DNSDNSDNS /etc/resolv.conf DNS(DNS) FallbackDNS= IPv4 IPv6 DNS systemd- networkd.service(8) DNSDNS DNS= DNS /etc/resolv.conf DNS DNSDNS DNS Domains= "."FQDN() /etc/resolv.conf () "~" "" DNS= DNS DNS "~" "~." DNS DNS= DNS (""DNS()) LLMNR= "resolve" LLMNR(Link-Local Multicast Name Resolution, RFC 4794[1]) yes LLMNR responder resolver no LLMNR "resolve" LLMNR resolver LLMNR responder systemd-networkd.service(8) LLMNR LLMNR DNSSEC= "allow-downgrade" yes DNSSEC DNS (DNS LLMNR ) DNS "" DNS DNSSEC DNS DNSSEC DNS "allow-downgrade" DNS DNSSEC DNSSEC DNS DNSSEC no DNSSEC DNSSEC DNS DNS DNSSEC requires knowledge of "trust anchors" to prove data integrity. The trust anchor for the Internet root domain is built into the resolver, additional trust anchors may be defined with dnssec-trust-anchors.d(5). Trust anchors may change at regular intervals, and old trust anchors may be revoked. In such a case DNSSEC validation is not possible until new trust anchors are configured locally or the resolver software package is updated with the new root trust anchor. In effect, when the built-in trust anchor is revoked and DNSSEC= is yes, all further lookups will fail, as it cannot be proved anymore whether lookups are correctly signed, or validly unsigned. If DNSSEC= is set to "allow-downgrade" the resolver will automatically turn off DNSSEC validation in such a case. Client programs looking up DNS data will be informed whether lookups could be verified using DNSSEC, or whether the returned data could not be verified (either because the data was found unsigned in the DNS, or the DNS server did not support DNSSEC or no appropriate trust anchors were known). In the latter case it is assumed that client programs employ a secondary scheme to validate the returned DNS data, should this be required. It is recommended to set DNSSEC= to yes on systems where it is known that the DNS server supports DNSSEC correctly, and where software or trust anchor updates happen regularly. On other systems it is recommended to set DNSSEC= to "allow-downgrade". In addition to this global DNSSEC setting systemd- networkd.service(8) also maintains per-link DNSSEC settings. For system DNS servers (see above), only the global DNSSEC setting is in effect. For per-link DNS servers the per-link setting is in effect, unless it is unset in which case the global setting is used instead. Site-private DNS zones generally conflict with DNSSEC operation, unless a negative (if the private zone is not signed) or positive (if the private zone is signed) trust anchor is configured for them. If "allow-downgrade" mode is selected, it is attempted to detect site-private DNS zones using top-level domains (TLDs) that are not known by the DNS root server. This logic does not work in all private zone setups. no Cache= "yes" DNSSEC IP 127.0.0.1 ::1 DNSDNS systemd(1), systemd-resolved.service(8), systemd-networkd.service(8), dnssec-trust-anchors.d(5), resolv.conf(4) NOTES 1. RFC 4794 https://tools.ietf.org/html/rfc4795 man http://www.jinbuguo.com man https://github.com/man-pages-zh/manpages- zh systemd 231 RESOLVED.CONF(5)