| 1 |
# This file is part of systemd. |
| 2 |
# |
| 3 |
# systemd is free software; you can redistribute it and/or modify it under the |
| 4 |
# terms of the GNU Lesser General Public License as published by the Free |
| 5 |
# Software Foundation; either version 2.1 of the License, or (at your option) |
| 6 |
# any later version. |
| 7 |
# |
| 8 |
# Entries in this file show the compile time defaults. Local configuration |
| 9 |
# should be created by either modifying this file (or a copy of it placed in |
| 10 |
# /etc/ if the original file is shipped in /usr/), or by creating "drop-ins" in |
| 11 |
# the /etc/systemd/resolved.conf.d/ directory. The latter is generally |
| 12 |
# recommended. Defaults can be restored by simply deleting the main |
| 13 |
# configuration file and all drop-ins located in /etc/. |
| 14 |
# |
| 15 |
# Use 'systemd-analyze cat-config systemd/resolved.conf' to display the full config. |
| 16 |
# |
| 17 |
# See resolved.conf(5) for details. |
| 18 |
|
| 19 |
[Resolve] |
| 20 |
# Some examples of DNS servers which may be used for DNS= and FallbackDNS=: |
| 21 |
# Cloudflare: 1.1.1.1#one.one.one.one 1.0.0.1#one.one.one.one 2606:4700:4700::1111#one.one.one.one 2606:4700:4700::1001#one.one.one.one |
| 22 |
# Google: 8.8.8.8#dns.google 8.8.4.4#dns.google 2001:4860:4860::8888#dns.google 2001:4860:4860::8844#dns.google |
| 23 |
# Quad9: 9.9.9.9#dns.quad9.net 149.112.112.112#dns.quad9.net 2620:fe::fe#dns.quad9.net 2620:fe::9#dns.quad9.net |
| 24 |
# |
| 25 |
# Using DNS= configures global DNS servers and does not suppress link-specific |
| 26 |
# configuration. Parallel requests will be sent to per-link DNS servers |
| 27 |
# configured automatically by systemd-networkd.service(8), NetworkManager(8), or |
| 28 |
# similar management services, or configured manually via resolvectl(1). See |
| 29 |
# resolved.conf(5) and systemd-resolved(8) for more details. |
| 30 |
#DNS= |
| 31 |
#FallbackDNS={{DNS_SERVERS}} |
| 32 |
#Domains= |
| 33 |
#DNSSEC={{DEFAULT_DNSSEC_MODE_STR}} |
| 34 |
#DNSOverTLS={{DEFAULT_DNS_OVER_TLS_MODE_STR}} |
| 35 |
#MulticastDNS={{DEFAULT_MDNS_MODE_STR}} |
| 36 |
#LLMNR={{DEFAULT_LLMNR_MODE_STR}} |
| 37 |
#Cache=yes |
| 38 |
#CacheFromLocalhost=no |
| 39 |
#DNSCacheSize=4096 |
| 40 |
#MulticastDNSCacheSize=4096 |
| 41 |
#LLMNRCacheSize=4096 |
| 42 |
#DNSStubListener=yes |
| 43 |
#DNSStubListenerExtra= |
| 44 |
#ReadEtcHosts=yes |
| 45 |
#ReadStaticRecords=yes |
| 46 |
#ResolveUnicastSingleLabel=no |
| 47 |
#StaleRetentionSec=0 |
| 48 |
#RefuseRecordTypes= |