]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Fix setRandomizedOutgoingSockets not showing up in the search 12950/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 26 Jun 2023 08:36:11 +0000 (10:36 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 26 Jun 2023 08:36:11 +0000 (10:36 +0200)
Also add a link to it from newServer's 'sockets' parameter, which is
related.

pdns/dnsdistdist/docs/reference/config.rst
pdns/dnsdistdist/docs/reference/tuning.rst

index b6489369868809cb60cfac8bcf74154e46433232..03fb56b3820e436166042d8d848e995d0e34af09 100644 (file)
@@ -605,7 +605,7 @@ Servers
                                                  --   "address@interface", e.g. "192.0.2.2@eth0"
       addXPF=NUM,                                -- Add the client's IP address and port to the query, along with the original destination address and port,
                                                  -- using the experimental XPF record from `draft-bellis-dnsop-xpf <https://datatracker.ietf.org/doc/draft-bellis-dnsop-xpf/>`_ and the specified option code. Default is disabled (0). This is a deprecated feature that will be removed in the near future.
-      sockets=NUM,                               -- Number of UDP sockets (and thus source ports) used toward the backend server, defaults to a single one. Note that for backends which are multithreaded, this setting will have an effect on the number of cores that will be used to process traffic from dnsdist. For example you may want to set 'sockets' to a number somewhat higher than the number of worker threads configured in the backend, particularly if the Linux kernel is being used to distribute traffic to multiple threads listening on the same socket (via `reuseport`).
+      sockets=NUM,                               -- Number of UDP sockets (and thus source ports) used toward the backend server, defaults to a single one. Note that for backends which are multithreaded, this setting will have an effect on the number of cores that will be used to process traffic from dnsdist. For example you may want to set 'sockets' to a number somewhat higher than the number of worker threads configured in the backend, particularly if the Linux kernel is being used to distribute traffic to multiple threads listening on the same socket (via `reuseport`). See also :func:`setRandomizedOutgoingSockets`.
       disableZeroScope=BOOL,                     -- Disable the EDNS Client Subnet 'zero scope' feature, which does a cache lookup for an answer valid for all subnets (ECS scope of 0) before adding ECS information to the query and doing the regular lookup. This requires the ``parseECS`` option of the corresponding cache to be set to true
       rise=NUM,                                  -- Require NUM consecutive successful checks before declaring the backend up, default: 1
       useProxyProtocol=BOOL,                     -- Add a proxy protocol header to the query, passing along the client's IP address and port along with the original destination address and port. Default is disabled.
index 1d7a90b2547ece61c1313e595c70ecca32a9d8ab..d00b14feb0735546b0a36aefa2882d182621e913 100644 (file)
@@ -134,7 +134,7 @@ Tuning related functions
   See also :func:`setRandomizedOutgoingSockets`.
   The default is to use a linearly increasing counter from 0 to 65535, wrapping back to 0 when necessary.
 
-.. function:: setRandomizedOutgoingSockets(val):
+.. function:: setRandomizedOutgoingSockets(val)
 
   .. versionadded:: 1.8.0