]> mj.ucw.cz Git - nsc-5.git/commitdiff
Added CAA records
authorMartin Mares <mj@ucw.cz>
Thu, 10 Aug 2023 11:24:06 +0000 (13:24 +0200)
committerMartin Mares <mj@ucw.cz>
Thu, 10 Aug 2023 11:25:50 +0000 (13:25 +0200)
README
m4/nsc.m4

diff --git a/README b/README
index 2da1052ac9c1e78c23c2182dfa994b6c04f2f6f1..1417708d746fd22f9f475f894d268b07d275988d 100644 (file)
--- a/README
+++ b/README
@@ -291,6 +291,9 @@ PTR(src, dest)
                to have your PTR's generated by the REVERSE directive. But if you
                need anything special, here is the tool.
 
+CAA(text)
+               Specify a CAA record for the current host or domain.
+
 REVBLOCK(subdomain, min, max)
                Generate a series of CNAME records numbered from `min' to `max'
                and pointing to the same name in the given sub-domain, finally
index b5130c318f2b975cd6baa650fc859e3c47816e96..829086fe4f7eba647274539059393107a75b3dd1 100644 (file)
--- a/m4/nsc.m4
+++ b/m4/nsc.m4
@@ -150,6 +150,10 @@ define(PTR, `nsc_name($1)  `PTR'   nsc_name($2)')
 define(DS, `ifdef(`REVERSE_MODE',,`nsc_DS')')
 define(nsc_DS, `undivert(dss/nsc_abs_name_nodot)')
 
+# CAA records
+
+define(CAA, `nsc_emit_name     `CAA'   $1')
+
 # Shortcut for classless reverse delegation of a block
 
 define(REVBLOCK, `nsc_forloop(`i', $2, $3, `i' `CNAME' `i'.$1