From 5aaf6f6f244ce4cc11d1850fdd13d5fe2fbb9082 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pa=C4=8Dek?= <petr.spacek@nic.cz> Date: Thu, 9 Jan 2020 17:02:05 +0100 Subject: [PATCH] doc: net_client minor polish --- daemon/bindings/net_client.rst | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) 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. -- GitLab