]> granicus.if.org Git - pdns/commitdiff
rec: document `clearNTA`, `clearDS` and `clearNTA`.
authorPieter Lexis <pieter.lexis@powerdns.com>
Fri, 12 Oct 2018 13:37:01 +0000 (15:37 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Fri, 12 Oct 2018 13:38:29 +0000 (15:38 +0200)
pdns/recursordist/docs/lua-config/dnssec.rst

index 20c75ccd0ae52a72c4e6e0ce37cbb2ecba8d52d9..4061bde9506ce0ba7d718809f71d651e0576328c 100644 (file)
@@ -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