summaryrefslogtreecommitdiff
path: root/man/resolved.conf.xml
diff options
context:
space:
mode:
authorSusant Sahani <ssahani@vmware.com>2020-08-29 07:12:10 +0000
committerSusant Sahani <ssahani@vmware.com>2020-09-03 08:27:41 +0000
commit1f05101fb6a40fbd742f9fd7333d3b3ec2273daa (patch)
tree840763a058da9c7f673be4ebdf70ca8ad1ac343f /man/resolved.conf.xml
parent1f1f3210c91d35b9516a0a0f5471aa3e8ee024c3 (diff)
downloadsystemd-1f05101fb6a40fbd742f9fd7333d3b3ec2273daa.tar.gz
resolve: allow configurable bind address
Diffstat (limited to 'man/resolved.conf.xml')
-rw-r--r--man/resolved.conf.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/man/resolved.conf.xml b/man/resolved.conf.xml
index 535a23f500..338bee6c38 100644
--- a/man/resolved.conf.xml
+++ b/man/resolved.conf.xml
@@ -270,6 +270,31 @@
</varlistentry>
<varlistentry>
+ <term><varname>DNSStubListenerExtra=</varname></term>
+ <listitem><para>Takes an IPv4 or IPv6 address to listen on. The address may optionally be prefixed by <literal>:</literal> and
+ a protocol name (<literal>udp</literal> or <literal>tcp</literal>). When an IPv6 address is specified with a port number, then the
+ address must be in the square brackets. This option can be specified multiple times. If an empty string is assigned, then the all
+ previous assignments are cleared. It may also be optionally suffixed by a numeric port number with separator <literal>:</literal>.
+ If the protocol is not specified, the service will listen on both <literal>UDP</literal> and <literal>TCP</literal>. If the port is not
+ specified, then the service takes port as 53. This option may be used multiple times. Note that this is independent of the
+ primary DNS stub configured with <varname>DNSStubListener=</varname>, and only configures <emphasis>additional</emphasis>
+ sockets to listen on. Defaults to unset.</para>
+
+ <para>If the string in the format <literal>udp</literal>:[<replaceable>x</replaceable>]:<replaceable>y</replaceable>,
+ it is read as protocol <literal>udp</literal> and IPv6 address x on a port y.</para>
+
+ <para>If the string in the format [<replaceable>x</replaceable>]:<replaceable>y</replaceable>, it is read as both protocol
+ <literal>udp</literal> and <literal>tcp</literal>, IPv6 address x on a port y.</para>
+
+ <para>If the string in the format <replaceable>x</replaceable>, it is read as protocol both <literal>udp</literal> and
+ <literal>tcp</literal>, IPv6/IPv4 address x on a port 53.</para>
+
+ <para>If the string in the format <literal>udp</literal>:<replaceable>x</replaceable>:<replaceable>y</replaceable>,
+ it is read as protocol <literal>udp</literal> and IPv4 address x on a port y.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><varname>ReadEtcHosts=</varname></term>
<listitem><para>Takes a boolean argument. If <literal>yes</literal> (the default),
<command>systemd-resolved</command> will read <filename>/etc/hosts</filename>, and try to resolve