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">
7 This file is part of systemd.
9 Copyright 2014 Tom Gundersen
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.
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.
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/>.
25 <refentry id="resolved.conf" conditional='ENABLE_RESOLVED'
26 xmlns:xi="http://www.w3.org/2001/XInclude">
28 <title>resolved.conf</title>
29 <productname>systemd</productname>
33 <contrib>Developer</contrib>
34 <firstname>Tom</firstname>
35 <surname>Gundersen</surname>
36 <email>teg@jklm.no</email>
42 <refentrytitle>resolved.conf</refentrytitle>
43 <manvolnum>5</manvolnum>
47 <refname>resolved.conf</refname>
48 <refname>resolved.conf.d</refname>
49 <refpurpose>Network Name Resolution configuration files</refpurpose>
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>
60 <title>Description</title>
62 <para>These configuration files control local DNS and LLMNR
63 name resolving.</para>
67 <xi:include href="standard-conf.xml" xpointer="confd" />
68 <xi:include href="standard-conf.xml" xpointer="conf" />
71 <title>Options</title>
73 <variablelist class='network-directives'>
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
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>
89 configured there. This setting
91 list.</para></listitem>
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
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>
114 <term><varname>LLMNR=</varname></term>
115 <listitem><para>Takes a boolean
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
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>
139 <title>See Also</title>
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>