From: Peter van Dijk Date: Fri, 18 Oct 2019 11:59:41 +0000 (+0200) Subject: fix versionadded formatting X-Git-Tag: dnsdist-1.4.0-rc4~12^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ec3dde9d618637983ca70349ee55d80b5b0af1a;p=pdns fix versionadded formatting --- diff --git a/pdns/dnsdistdist/docs/rules-actions.rst b/pdns/dnsdistdist/docs/rules-actions.rst index e72c1f445..28cd6dbad 100644 --- a/pdns/dnsdistdist/docs/rules-actions.rst +++ b/pdns/dnsdistdist/docs/rules-actions.rst @@ -576,6 +576,7 @@ These ``DNSRule``\ s be one of the following items: :param int rcode: The RCODE to match on .. function:: HTTPHeaderRule(name, regex) + .. versionadded:: 1.4.0 Matches DNS over HTTPS queries with a HTTP header ``name`` whose content matches the regular expression ``regex``. @@ -584,6 +585,7 @@ These ``DNSRule``\ s be one of the following items: :param str regex: A regular expression to match the content of the specified header .. function:: HTTPPathRegexRule(regex) + .. versionadded:: 1.4.0 Matches DNS over HTTPS queries with a HTTP path matching the regular expression supplied in ``regex``. For example, if the query has been sent to the https://192.0.2.1:443/PowerDNS?dns=... URL, the path would be '/PowerDNS'. @@ -592,6 +594,7 @@ These ``DNSRule``\ s be one of the following items: :param str regex: The regex to match on .. function:: HTTPPathRule(path) + .. versionadded:: 1.4.0 Matches DNS over HTTPS queries with a HTTP path of ``path``. For example, if the query has been sent to the https://192.0.2.1:443/PowerDNS?dns=... URL, the path would be '/PowerDNS'. @@ -600,6 +603,7 @@ These ``DNSRule``\ s be one of the following items: :param str path: The exact HTTP path to match on .. function:: KeyValueStoreLookupRule(kvs, lookupKey) + .. versionadded:: 1.4.0 As of 1.4.0, this code is considered experimental. @@ -773,6 +777,7 @@ These ``DNSRule``\ s be one of the following items: :param str regex: The regular expression to match the QNAME. .. function:: SNIRule(name) + .. versionadded:: 1.4.0 Matches against the TLS Server Name Indication value sent by the client, if any. Only makes @@ -964,6 +969,7 @@ The following actions exist. :param int rcode: The extended RCODE to respond with. .. function:: HTTPStatusAction(status, body, contentType="") + .. versionadded:: 1.4.0 Return an HTTP response with a status code of ''status''. For HTTP redirects, ''body'' should be the redirect URL.