]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: add document for setTCPFastOpenKey()
authorY7n05h <Y7n05h@protonmail.com>
Mon, 4 Apr 2022 11:41:45 +0000 (19:41 +0800)
committerY7n05h <Y7n05h@protonmail.com>
Mon, 4 Apr 2022 11:43:39 +0000 (19:43 +0800)
Signed-off-by: Y7n05h <Y7n05h@protonmail.com>
pdns/dnsdistdist/docs/reference/config.rst

index 122e731ba3ec5984f6beb40823065f339ab6d0ae..262b6d0b33f15daaf11994ea0aa713ec3b26902a 100644 (file)
@@ -1651,6 +1651,14 @@ Other functions
 
   :param int size: The maximum size in bytes (default is 512)
 
+.. function:: setTCPFastOpenKey(key)
+
+  .. versionadded:: 1.7.1
+
+  Set a specified same ``TCP Fast Open`` key for all frontends.
+
+  :param string key: The format of the key can be found in ``/proc/sys/net/ipv4/tcp_fastopen_key``
+
 .. function:: makeIPCipherKey(password) -> string
 
   .. versionadded:: 1.4.0