From: Pieter Lexis Date: Tue, 18 Jul 2017 15:09:03 +0000 (+0200) Subject: Fix params inside the function role X-Git-Tag: dnsdist-1.2.0~38^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88fe29ba0c0e334c212c3faffd12fe872ba4679d;p=thirdparty%2Fpdns.git Fix params inside the function role --- diff --git a/pdns/recursordist/docs/lua-config/protobuf.rst b/pdns/recursordist/docs/lua-config/protobuf.rst index fa585357e7..579a029fc4 100644 --- a/pdns/recursordist/docs/lua-config/protobuf.rst +++ b/pdns/recursordist/docs/lua-config/protobuf.rst @@ -14,14 +14,14 @@ Protobuf export to a server is enabled using the ``protobufServer()`` directive: .. function:: protobufServer(server [[[[[[[, timeout=2], maxQueuedEntries=100], reconnectWaitTime=1], maskV4=32], maskV6=128], asyncConnect=false], taggedOnly=false]) -:param string server: The IP and port to connect to -:param int timeout: Time in seconds to wait when sending a message -:param int maxQueuedEntries: How many entries will be kept in memory if the server becomes unreachable -:param int reconnectWaitTime: How long to wait, in seconds, between two reconnection attempts -:param int maskV4: network mask to apply to the client IPv4 addresses, for anonymization purposes. The default of 32 means no anonymization. -:param int maskV6: Same as maskV4, but for IPv6. Defaults to 128. -:param bool taggedOnly: Only entries with a policy or a policy tag set will be sent. -:param bool asyncConnect: When set to false (default) the first connection to the server during startup will block up to ``timeout`` seconds, otherwise the connection is done in a separate thread. + :param string server: The IP and port to connect to + :param int timeout: Time in seconds to wait when sending a message + :param int maxQueuedEntries: How many entries will be kept in memory if the server becomes unreachable + :param int reconnectWaitTime: How long to wait, in seconds, between two reconnection attempts + :param int maskV4: network mask to apply to the client IPv4 addresses, for anonymization purposes. The default of 32 means no anonymization. + :param int maskV6: Same as maskV4, but for IPv6. Defaults to 128. + :param bool taggedOnly: Only entries with a policy or a policy tag set will be sent. + :param bool asyncConnect: When set to false (default) the first connection to the server during startup will block up to ``timeout`` seconds, otherwise the connection is done in a separate thread. Logging outgoing queries and responses -------------------------------------- @@ -30,11 +30,11 @@ While :func:`protobufServer` only exports the queries sent to the recursor from .. function:: outgoingProtobufServer(server [[[[, timeout=2], maxQueuedEntries=100], reconnectWaitTime=1], asyncConnect=false]) -:param string server: The IP and port to connect to -:param int timeout: Time in seconds to wait when sending a message -:param int maxQueuedEntries: How many entries will be kept in memory if the server becomes unreachable -:param int reconnectWaitTime: How long to wait, in seconds, between two reconnection attempts -:param bool asyncConnect: When set to false (default) the first connection to the server during startup will block up to ``timeout`` seconds, otherwise the connection is done in a separate thread. + :param string server: The IP and port to connect to + :param int timeout: Time in seconds to wait when sending a message + :param int maxQueuedEntries: How many entries will be kept in memory if the server becomes unreachable + :param int reconnectWaitTime: How long to wait, in seconds, between two reconnection attempts + :param bool asyncConnect: When set to false (default) the first connection to the server during startup will block up to ``timeout`` seconds, otherwise the connection is done in a separate thread. Protobol Buffers Definition ---------------------------