From e4c35b1d788c6e4a3f8900518218a43edb6d41e8 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Fri, 3 Apr 2020 06:34:45 -0400 Subject: [PATCH] Address review feedback. Signed-off-by: Kevin P. Fleming --- docs/settings.rst | 24 ++++++++++-------------- pdns/recursordist/docs/settings.rst | 24 ++++++++++-------------- 2 files changed, 20 insertions(+), 28 deletions(-) diff --git a/docs/settings.rst b/docs/settings.rst index b36aa714e6..c6615f588a 100644 --- a/docs/settings.rst +++ b/docs/settings.rst @@ -778,23 +778,19 @@ available in non-static distributions. - IPv4/IPv6 Addresses, with optional port numbers, separated by commas or whitespace - Default: ``0.0.0.0, ::`` -Local IP addresses to which we bind. It is highly advised to bind to -specific interfaces and not use the default 'bind to any'. This causes -big problems if you have multiple IP addresses. Unix does not provide a -way of figuring out what IP address a packet was sent to when binding to -any. - -Each address specified can include a port number; if no port is included -then the :ref:`setting-local-port` port will be used for that address. If a -port number is specified, it must be separated from the address with a ':'; -for an IPv6 address the address must be enclosed in square brackets. +Local IP addresses to which we bind. Each address specified can +include a port number; if no port is included then the +:ref:`setting-local-port` port will be used for that address. If a +port number is specified, it must be separated from the address with a +':'; for an IPv6 address the address must be enclosed in square +brackets. Examples: -``local-address=127.0.0.1 ::1`` -``local-address=0.0.0.0:5353`` -``local-address=[::]:8053`` -``local-address=127.0.0.1:53, [::1]:5353`` + local-address=127.0.0.1 ::1 + local-address=0.0.0.0:5353 + local-address=[::]:8053 + local-address=127.0.0.1:53, [::1]:5353 .. _setting-local-address-nonexist-fail: diff --git a/pdns/recursordist/docs/settings.rst b/pdns/recursordist/docs/settings.rst index f97f914ab7..18463af5a4 100644 --- a/pdns/recursordist/docs/settings.rst +++ b/pdns/recursordist/docs/settings.rst @@ -718,23 +718,19 @@ Indication of how many queries will be averaged to get the average latency repor - IPv4/IPv6 Addresses, with optional port numbers, separated by commas or whitespace - Default: ``0.0.0.0, ::`` -Local IP addresses to which we bind. It is highly advised to bind to -specific interfaces and not use the default 'bind to any'. This causes -big problems if you have multiple IP addresses. Unix does not provide a -way of figuring out what IP address a packet was sent to when binding to -any. - -Each address specified can include a port number; if no port is included -then the :ref:`setting-local-port` port will be used for that address. If a -port number is specified, it must be separated from the address with a ':'; -for an IPv6 address the address must be enclosed in square brackets. +Local IP addresses to which we bind. Each address specified can +include a port number; if no port is included then the +:ref:`setting-local-port` port will be used for that address. If a +port number is specified, it must be separated from the address with a +':'; for an IPv6 address the address must be enclosed in square +brackets. Examples: -``local-address=127.0.0.1 ::1`` -``local-address=0.0.0.0:5353`` -``local-address=[::]:8053`` -``local-address=127.0.0.1:53, [::1]:5353`` + local-address=127.0.0.1 ::1 + local-address=0.0.0.0:5353 + local-address=[::]:8053 + local-address=127.0.0.1:53, [::1]:5353 .. _setting-local-port: -- 2.47.2