From 870a01f13c0be62ab4758b0b5503d7e43978769b Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 10 Aug 2023 13:24:06 +0200 Subject: [PATCH] Added CAA records --- README | 3 +++ m4/nsc.m4 | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/README b/README index 2da1052..1417708 100644 --- 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 diff --git a/m4/nsc.m4 b/m4/nsc.m4 index b5130c3..829086f 100644 --- 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 -- 2.39.2