X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=m4%2Fnsc.m4;h=aa2d4d98381f926cda871891cd9e64e9b27bc265;hb=e71dc5ff75ffd595bf84ec59a69a8e19c2e4df72;hp=32cb79319020480e01c31592cd991c6f5a7b3c6f;hpb=747c80cf4a1294d69e8905c349d796e472768c16;p=nsc-5.git diff --git a/m4/nsc.m4 b/m4/nsc.m4 index 32cb793..aa2d4d9 100644 --- a/m4/nsc.m4 +++ b/m4/nsc.m4 @@ -1,8 +1,8 @@ dnl ### dnl ### NSC -- Zone File Generator -dnl ### (c) 1997--2003 Martin Mares +dnl ### (c) 1997--2008 Martin Mares dnl ### -dnl ### Usage: m4 nsc.m4 domain-source-files >zone-file -DVERS=path-to-version-file +dnl ### Usage: m4 -DVERS=path-to-version-file nsc.m4 domain-source-files >zone-file dnl ### include(m4/dnslib.m4) @@ -119,6 +119,14 @@ define(nsc_ALIAS, `$1 `CNAME' CURRENT_NAME ') define(ALIAS, `nsc_iterate(`nsc_ALIAS', $@)nsc_set_name(CURRENT_NAME)dnl') +# TXT records + +define(TXT, `nsc_emit_name `TXT' "$1"') + +# RP (responsible person) records + +define(RP, `nsc_emit_name `RP' nsc_corr_dot($1) nsc_corr_dot($2)') + # CNAME records define(CNAME, `$1 `CNAME' nsc_corr_dot($2)')