From: Petr Špaček Date: Thu, 9 Jan 2020 16:02:05 +0000 (+0100) Subject: doc: net_client minor polish X-Git-Tag: v5.0.0~8^2~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5aaf6f6f244ce4cc11d1850fdd13d5fe2fbb9082;p=thirdparty%2Fknot-resolver.git doc: net_client minor polish --- diff --git a/daemon/bindings/net_client.rst b/daemon/bindings/net_client.rst index 23b1605b9..c29874bed 100644 --- a/daemon/bindings/net_client.rst +++ b/daemon/bindings/net_client.rst @@ -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.