mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-22 22:03:43 +03:00
man: update DNSStubListenerExtra=
This commit is contained in:
parent
5b49641015
commit
6421194b31
@ -271,27 +271,27 @@
|
||||
|
||||
<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>
|
||||
<listitem><para>Takes an IPv4 or IPv6 address to listen on. The address may be optionally
|
||||
prefixed with a protocol name (<literal>udp</literal> or <literal>tcp</literal>) separated with
|
||||
<literal>:</literal>. If the protocol is not specified, the service will listen on both UDP and
|
||||
TCP. It may be also optionally suffixed by a numeric port number with separator
|
||||
<literal>:</literal>. When an IPv6 address is specified with a port number, then the address
|
||||
must be in the square brackets. If the port is not specified, then the service uses port 53.
|
||||
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. This option can be specified multiple times. If an empty string is
|
||||
assigned, then the all previous assignments are cleared. 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>
|
||||
<para>Examples:
|
||||
<programlisting>DNSStubListenerExtra=192.168.10.10
|
||||
DNSStubListenerExtra=2001:db8:0:f102::10
|
||||
DNSStubListenerExtra=192.168.10.11:9953
|
||||
DNSStubListenerExtra=[2001:db8:0:f102::11]:9953
|
||||
DNSStubListenerExtra=tcp:192.168.10.12
|
||||
DNSStubListenerExtra=udp:2001:db8:0:f102::12
|
||||
DNSStubListenerExtra=tcp:192.168.10.13:9953
|
||||
DNSStubListenerExtra=udp:[2001:db8:0:f102::13]:9953</programlisting>
|
||||
</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
|
Loading…
x
Reference in New Issue
Block a user