]>
Commit | Line | Data |
---|---|---|
a51c1048 | 1 | <?xml version='1.0'?> <!--*- Mode: nxml; nxml-child-indent: 2; indent-tabs-mode: nil -*--> |
091a364c | 2 | <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" |
12b42c76 | 3 | "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> |
091a364c TG |
4 | |
5 | <!-- | |
6 | This file is part of systemd. | |
7 | ||
8 | Copyright 2014 Tom Gundersen | |
9 | ||
10 | systemd is free software; you can redistribute it and/or modify it | |
11 | under the terms of the GNU Lesser General Public License as published by | |
12 | the Free Software Foundation; either version 2.1 of the License, or | |
13 | (at your option) any later version. | |
14 | ||
15 | systemd is distributed in the hope that it will be useful, but | |
16 | WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
18 | Lesser General Public License for more details. | |
19 | ||
20 | You should have received a copy of the GNU Lesser General Public License | |
21 | along with systemd; If not, see <http://www.gnu.org/licenses/>. | |
22 | --> | |
23 | ||
f2dacc96 | 24 | <refentry id="resolved.conf" conditional='ENABLE_RESOLVED' |
798d3a52 ZJS |
25 | xmlns:xi="http://www.w3.org/2001/XInclude"> |
26 | <refentryinfo> | |
27 | <title>resolved.conf</title> | |
28 | <productname>systemd</productname> | |
29 | ||
30 | <authorgroup> | |
31 | <author> | |
32 | <contrib>Developer</contrib> | |
33 | <firstname>Tom</firstname> | |
34 | <surname>Gundersen</surname> | |
35 | <email>teg@jklm.no</email> | |
36 | </author> | |
37 | </authorgroup> | |
38 | </refentryinfo> | |
39 | ||
40 | <refmeta> | |
41 | <refentrytitle>resolved.conf</refentrytitle> | |
42 | <manvolnum>5</manvolnum> | |
43 | </refmeta> | |
44 | ||
45 | <refnamediv> | |
46 | <refname>resolved.conf</refname> | |
47 | <refname>resolved.conf.d</refname> | |
48 | <refpurpose>Network Name Resolution configuration files</refpurpose> | |
49 | </refnamediv> | |
50 | ||
51 | <refsynopsisdiv> | |
12b42c76 TG |
52 | <para><filename>/etc/systemd/resolved.conf</filename></para> |
53 | <para><filename>/etc/systemd/resolved.conf.d/*.conf</filename></para> | |
798d3a52 | 54 | <para><filename>/run/systemd/resolved.conf.d/*.conf</filename></para> |
12b42c76 | 55 | <para><filename>/usr/lib/systemd/resolved.conf.d/*.conf</filename></para> |
798d3a52 ZJS |
56 | </refsynopsisdiv> |
57 | ||
58 | <refsect1> | |
59 | <title>Description</title> | |
60 | ||
61 | <para>These configuration files control local DNS and LLMNR | |
a8eaaee7 | 62 | name resolution.</para> |
798d3a52 ZJS |
63 | |
64 | </refsect1> | |
65 | ||
e93549ef | 66 | <xi:include href="standard-conf.xml" xpointer="main-conf" /> |
798d3a52 ZJS |
67 | |
68 | <refsect1> | |
69 | <title>Options</title> | |
70 | ||
71 | <variablelist class='network-directives'> | |
72 | ||
73 | <varlistentry> | |
74 | <term><varname>DNS=</varname></term> | |
b938cb90 | 75 | <listitem><para>A space-separated list of IPv4 and IPv6 |
798d3a52 ZJS |
76 | addresses to be used as system DNS servers. DNS requests are |
77 | sent to one of the listed DNS servers in parallel to any | |
78 | per-interface DNS servers acquired from | |
79 | <citerefentry><refentrytitle>systemd-networkd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>. | |
a51c1048 | 80 | For compatibility reasons, if this setting is not specified, |
9f2912db LP |
81 | the DNS servers listed in |
82 | <filename>/etc/resolv.conf</filename> are used instead, if | |
83 | that file exists and any servers are configured in it. This | |
84 | setting defaults to the empty list.</para></listitem> | |
798d3a52 ZJS |
85 | </varlistentry> |
86 | ||
87 | <varlistentry> | |
88 | <term><varname>FallbackDNS=</varname></term> | |
b938cb90 | 89 | <listitem><para>A space-separated list of IPv4 and IPv6 |
798d3a52 ZJS |
90 | addresses to be used as the fallback DNS servers. Any |
91 | per-interface DNS servers obtained from | |
92 | <citerefentry><refentrytitle>systemd-networkd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry> | |
93 | take precedence over this setting, as do any servers set via | |
94 | <varname>DNS=</varname> above or | |
95 | <filename>/etc/resolv.conf</filename>. This setting is hence | |
96 | only used if no other DNS server information is known. If this | |
97 | option is not given, a compiled-in list of DNS servers is used | |
98 | instead.</para></listitem> | |
99 | </varlistentry> | |
100 | ||
a51c1048 LP |
101 | <varlistentry> |
102 | <term><varname>Domains=</varname></term> | |
103 | <listitem><para>A space-separated list of search domains. For | |
104 | compatibility reasons, if this setting is not specified, the | |
105 | search domains listed in <filename>/etc/resolv.conf</filename> | |
106 | are used instead, if that file exists and any domains are | |
107 | configured in it. This setting defaults to the empty | |
108 | list.</para></listitem> | |
109 | </varlistentry> | |
110 | ||
798d3a52 ZJS |
111 | <varlistentry> |
112 | <term><varname>LLMNR=</varname></term> | |
113 | <listitem><para>Takes a boolean argument or | |
114 | <literal>resolve</literal>. Controls Link-Local Multicast Name | |
115 | Resolution support (<ulink | |
116 | url="https://tools.ietf.org/html/rfc4795">RFC 4794</ulink>) on | |
b938cb90 | 117 | the local host. If true, enables full LLMNR responder and |
a8eaaee7 JE |
118 | resolver support. If false, disables both. If set to |
119 | <literal>resolve</literal>, only resolution support is enabled, | |
798d3a52 ZJS |
120 | but responding is disabled. Note that |
121 | <citerefentry><refentrytitle>systemd-networkd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry> | |
122 | also maintains per-interface LLMNR settings. LLMNR will be | |
123 | enabled on an interface only if the per-interface and the | |
124 | global setting is on.</para></listitem> | |
125 | </varlistentry> | |
126 | ||
127 | </variablelist> | |
128 | </refsect1> | |
129 | ||
130 | <refsect1> | |
131 | <title>See Also</title> | |
132 | <para> | |
133 | <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>, | |
134 | <citerefentry><refentrytitle>systemd-resolved.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>, | |
135 | <citerefentry><refentrytitle>systemd-networkd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>, | |
136 | <citerefentry><refentrytitle>resolv.conf</refentrytitle><manvolnum>4</manvolnum></citerefentry> | |
137 | </para> | |
138 | </refsect1> | |
091a364c TG |
139 | |
140 | </refentry> |