]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
doc: net_client minor polish
authorPetr Špaček <petr.spacek@nic.cz>
Thu, 9 Jan 2020 16:02:05 +0000 (17:02 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Wed, 15 Jan 2020 09:38:19 +0000 (10:38 +0100)
daemon/bindings/net_client.rst

index 23b1605b9e74bfe7360471bb9584478d54530911..c29874bed9171645ffd630f91db52c65650be096 100644 (file)
@@ -1,7 +1,9 @@
-Client
-======
+Following settings affect client part of the resolver,
+i.e. communication between the resolver itself and other DNS servers.
 
-Following settings affect client part of the resolver, i.e. communication between the resolver itself and other DNS servers.
+IPv4 and IPv6 protocols are used by default. For performance reasons it is
+recommended to explicitly disable protocols which are not available
+on your system.
 
 .. envvar:: net.ipv4 = true|false
 
@@ -9,17 +11,17 @@ Following settings affect client part of the resolver, i.e. communication betwee
 
    Enable/disable using IPv4 for contacting upstream nameservers.
 
-.. function:: net.outgoing_v4([string address])
-
-   Get/set the IPv4 address used to perform queries.
-   The default is ``nil``, which lets the OS choose any address.
-
 .. envvar:: net.ipv6 = true|false
 
    :return: boolean (default: true)
 
    Enable/disable using IPv6 for contacting upstream nameservers.
 
+.. function:: net.outgoing_v4([string address])
+
+   Get/set the IPv4 address used to perform queries.
+   The default is ``nil``, which lets the OS choose any address.
+
 .. function:: net.outgoing_v6([string address])
 
    Get/set the IPv6 address used to perform queries.