1RESOLVED.CONF(5) resolved.conf RESOLVED.CONF(5)
2
3
4
6 resolved.conf, resolved.conf.d - Network Name Resolution configuration
7 files
8
10 /etc/systemd/resolved.conf
11
12 /etc/systemd/resolved.conf.d/*.conf
13
14 /run/systemd/resolved.conf.d/*.conf
15
16 /usr/lib/systemd/resolved.conf.d/*.conf
17
19 These configuration files control local DNS and LLMNR name resolving.
20
22 Default configuration is defined during compilation, so a configuration
23 file is only needed when it is necessary to deviate from those
24 defaults. By default the configuration file in /etc/systemd/ contains
25 commented out entries showing the defaults as a guide to the
26 administrator. This file can be edited to create local overrides.
27
28 When packages need to customize the configuration, they can install
29 configuration snippets in /usr/lib/systemd/*.conf.d/. Files in /etc/
30 are reserved for the local administrator, who may use this logic to
31 override the configuration files installed by vendor packages. The main
32 configuration file is read before any of the configuration directories,
33 and has the lowest precedence; entries in a file in any configuration
34 directory override entries in the single configuration file. Files in
35 the *.conf.d/ configuration subdirectories are sorted by their filename
36 in lexicographic order, regardless of which of the subdirectories they
37 reside in. If multiple files specify the same option, the entry in the
38 file with the lexicographically latest name takes precedence. It is
39 recommended to prefix all filenames in those subdirectories with a
40 two-digit number and a dash, to simplify the ordering of the files.
41
42 To disable a configuration file supplied by the vendor, the recommended
43 way is to place a symlink to /dev/null in the configuration directory
44 in /etc/, with the same filename as the vendor configuration file.
45
47 DNS=
48 A space separated list of IPv4 and IPv6 addresses to be used as
49 system DNS servers. DNS requests are sent to one of the listed DNS
50 servers in parallel to any per-interface DNS servers acquired from
51 systemd-networkd.service(8). For compatibility reasons, if set to
52 the empty list the DNS servers listed in /etc/resolv.conf are used,
53 if any are configured there. This setting defaults to the empty
54 list.
55
56 FallbackDNS=
57 A space separated list of IPv4 and IPv6 addresses to be used as the
58 fallback DNS servers. Any per-interface DNS servers obtained from
59 systemd-networkd.service(8) take precedence over this setting, as
60 do any servers set via DNS= above or /etc/resolv.conf. This setting
61 is hence only used if no other DNS server information is known. If
62 this option is not given, a compiled-in list of DNS servers is used
63 instead.
64
65 LLMNR=
66 Takes a boolean argument or "resolve". Controls Link-Local
67 Multicast Name Resolution support (RFC 4794[1]) on the local host.
68 If true enables full LLMNR responder and resolver support. If false
69 disable both. If set to "resolve" only resolving support is
70 enabled, but responding is disabled. Note that systemd-
71 networkd.service(8) also maintains per-interface LLMNR settings.
72 LLMNR will be enabled on an interface only if the per-interface and
73 the global setting is on.
74
76 systemd(1), systemd-resolved.service(8), systemd-networkd.service(8),
77 resolv.conf(4)
78
80 1. RFC 4794
81 https://tools.ietf.org/html/rfc4795
82
83
84
85systemd 219 RESOLVED.CONF(5)