]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Document that we only support the version 2 of the Proxy Protocol
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 23 Mar 2020 15:55:50 +0000 (16:55 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 23 Mar 2020 15:55:50 +0000 (16:55 +0100)
pdns/dnsdistdist/docs/advanced/proxyprotocol.rst

index 7ecb3dc0b25a4673b4f0d5332d42b8524faee0f4..90db38748329bfbd01d2e5372a96b378d6c70402 100644 (file)
@@ -2,7 +2,7 @@ Using the Proxy Protocol
 ------------------------
 
 In order to provide the downstream server with the address of the real client, or at least the one talking to dnsdist, the ``useProxyProtocol`` parameter can be used when creating a :func:`new server <newServer>`.
-This parameter indicates whether a Proxy Protocol header should be prepended to the query before forwarding it to the backend, over UDP or TCP. This header contains the initial source and destination addresses and ports, and can also contain several custom values in a Type-Length-Value format. More information about the Proxy Protocol can be found at https://www.haproxy.org/download/2.2/doc/proxy-protocol.txt
+This parameter indicates whether a Proxy Protocol version 2 (binary) header should be prepended to the query before forwarding it to the backend, over UDP or TCP. This header contains the initial source and destination addresses and ports, and can also contain several custom values in a Type-Length-Value format. More information about the Proxy Protocol can be found at https://www.haproxy.org/download/2.2/doc/proxy-protocol.txt
 
 Custom values can be added to the header via :meth:`DNSQuestion:setProxyProtocolValues` and :func:`SetProxyProtocolValuesAction`.