]> git.proxmox.com Git - systemd.git/blame - man/resolved.conf.5
Imported Upstream version 219
[systemd.git] / man / resolved.conf.5
CommitLineData
60f067b4 1'\" t
e735f4d4 2.TH "RESOLVED\&.CONF" "5" "" "systemd 219" "resolved.conf"
60f067b4
JS
3.\" -----------------------------------------------------------------
4.\" * Define some portability stuff
5.\" -----------------------------------------------------------------
6.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7.\" http://bugs.debian.org/507673
8.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
9.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10.ie \n(.g .ds Aq \(aq
11.el .ds Aq '
12.\" -----------------------------------------------------------------
13.\" * set default formatting
14.\" -----------------------------------------------------------------
15.\" disable hyphenation
16.nh
17.\" disable justification (adjust text to left margin only)
18.ad l
19.\" -----------------------------------------------------------------
20.\" * MAIN CONTENT STARTS HERE *
21.\" -----------------------------------------------------------------
22.SH "NAME"
f47781d8 23resolved.conf, resolved.conf.d \- Network Name Resolution configuration files
60f067b4
JS
24.SH "SYNOPSIS"
25.PP
26/etc/systemd/resolved\&.conf
f47781d8
MP
27.PP
28/etc/systemd/resolved\&.conf\&.d/*\&.conf
29.PP
30/run/systemd/resolved\&.conf\&.d/*\&.conf
31.PP
32/usr/lib/systemd/resolved\&.conf\&.d/*\&.conf
60f067b4
JS
33.SH "DESCRIPTION"
34.PP
f47781d8
MP
35These configuration files control local DNS and LLMNR name resolving\&.
36.SH "CONFIGURATION DIRECTORIES AND PRECEDENCE"
37.PP
38Configuration files are read from directories in
39/etc/,
40/run/, and
41/usr/lib/, in order of precedence\&. Each configuration file in these configuration directories shall be named in the style of
42\fIfilename\fR\&.conf\&. Files in
43/etc/
44override files with the same name in
45/run/
46and
47/usr/lib/\&. Files in
48/run/
49override files with the same name in
50/usr/lib/\&.
51.PP
52Packages should install their configuration files in
53/usr/lib/\&. Files in
54/etc/
55are reserved for the local administrator, who may use this logic to override the configuration files installed by vendor packages\&. All configuration files are sorted by their filename in lexicographic order, regardless of which of the directories they reside in\&. If multiple files specify the same option, the entry in the file with the lexicographically latest name will take precedence\&. It is recommended to prefix all filenames with a two\-digit number and a dash, to simplify the ordering of the files\&.
56.PP
57If the administrator wants to disable a configuration file supplied by the vendor, the recommended way is to place a symlink to
58/dev/null
59in the configuration directory in
60/etc/, with the same filename as the vendor configuration file\&.
61.SH "CONFIGURATION FILE"
62.PP
63Configuration is also read from a single configuration file in
64/etc/\&. This file is read before any of the configuration directories, and has the lowest precedence; entries in a file in any configuration directory override entries in the single configuration file\&.
60f067b4
JS
65.SH "OPTIONS"
66.PP
67\fIDNS=\fR
68.RS 4
5eef597e
MP
69A space separated list of IPv4 and IPv6 addresses to be used as system DNS servers\&. DNS requests are sent to one of the listed DNS servers in parallel to any per\-interface DNS servers acquired from
70\fBsystemd-networkd.service\fR(8)\&. For compatibility reasons, if set to the empty list the DNS servers listed in
71/etc/resolv\&.conf
72are used, if any are configured there\&. This setting defaults to the empty list\&.
73.RE
74.PP
75\fIFallbackDNS=\fR
76.RS 4
77A space separated list of IPv4 and IPv6 addresses to be used as the fallback DNS servers\&. Any per\-interface DNS servers obtained from
60f067b4 78\fBsystemd-networkd.service\fR(8)
5eef597e
MP
79take precedence over this setting, as do any servers set via
80\fIDNS=\fR
81above or
82/etc/resolv\&.conf\&. This setting is hence only used if no other DNS server information is known\&. If this option is not given, a compiled\-in list of DNS servers is used instead\&.
83.RE
84.PP
85\fILLMNR=\fR
86.RS 4
87Takes a boolean argument or
88"resolve"\&. Controls Link\-Local Multicast Name Resolution support (\m[blue]\fBRFC 4794\fR\m[]\&\s-2\u[1]\d\s+2) on the local host\&. If true enables full LLMNR responder and resolver support\&. If false disable both\&. If set to
89"resolve"
90only resolving support is enabled, but responding is disabled\&. Note that
91\fBsystemd-networkd.service\fR(8)
92also maintains per\-interface LLMNR settings\&. LLMNR will be enabled on an interface only if the per\-interface and the global setting is on\&.
60f067b4
JS
93.RE
94.SH "SEE ALSO"
95.PP
96\fBsystemd\fR(1),
97\fBsystemd-resolved.service\fR(8),
5eef597e
MP
98\fBsystemd-networkd.service\fR(8),
99\fBresolv.conf\fR(4)
100.SH "NOTES"
101.IP " 1." 4
102RFC 4794
103.RS 4
104\%https://tools.ietf.org/html/rfc4795
105.RE