From: Pieter Lexis Date: Fri, 12 Oct 2018 13:37:01 +0000 (+0200) Subject: rec: document `clearNTA`, `clearDS` and `clearNTA`. X-Git-Tag: dnsdist-1.3.3~23^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5e506246f25a2d5e0ec2ebcab73fd07f7d21825a;p=pdns rec: document `clearNTA`, `clearDS` and `clearNTA`. --- diff --git a/pdns/recursordist/docs/lua-config/dnssec.rst b/pdns/recursordist/docs/lua-config/dnssec.rst index 20c75ccd0..4061bde95 100644 --- a/pdns/recursordist/docs/lua-config/dnssec.rst +++ b/pdns/recursordist/docs/lua-config/dnssec.rst @@ -13,6 +13,15 @@ This page only documents the Lua functions for DNSSEC configuration :param str name: The name in the DNS tree from where this Trust Anchor should be used :param str dsrecord: The DS Record content associated with ``name`` +.. function:: clearTA([name]) + + .. versionadded:: 4.2.0 + + Remove Trust Anchors for a name from the list of configured trust anchors. When ``name`` is + not given, remove *all* trust anchors instead. + + :param str name: The name in the DNS tree for which the Trust Anchors should be removed. + .. function:: addDS(name, dscontent) .. deprecated:: 4.2.0 @@ -23,6 +32,16 @@ This page only documents the Lua functions for DNSSEC configuration :param str name: The name in the DNS tree from where this Trust Anchor should be used :param str dsrecord: The DS Record content associated with ``name`` +.. function:: clearDS([name]) + + .. deprecated:: 4.2.0 + Please use :func:`clearTA` instead + + Remove Trust Anchors for a name from the list of configured trust anchors. When ``name`` is + not given, remove *all* trust anchors instead. + + :param str name: The name in the DNS tree for which the Trust Anchors should be removed. + .. function:: addNTA(name[, reason]) Adds a Negative Trust Anchor for ``name`` to the configuration. @@ -30,3 +49,10 @@ This page only documents the Lua functions for DNSSEC configuration :param str name: The name in the DNS tree from where this NTA should be used :param str reason: An optional comment to add to this NTA + +.. function:: clearNTA([name]) + + Remove Negative Trust Anchor for ``name`` from the list of configured trust anchors. When ``name`` is + not given, remove *all* negative trust anchors instead. + + :param str name: The name in the DNS tree from where this NTA should be removed