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