]> mj.ucw.cz Git - nsc-5.git/blobdiff - m4/nsc.m4
Updated TODO
[nsc-5.git] / m4 / nsc.m4
index 30b2f1e0cea2e01b7f8e3da70bcf61650fe10c3f..05a73245959120ed6466c014206fc02022470107 100644 (file)
--- a/m4/nsc.m4
+++ b/m4/nsc.m4
@@ -119,6 +119,18 @@ 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)')
+
+# SRV records
+
+define(SRV, `_`'$1`'._`'$2`'.CURRENT_NAME      `SRV'   $3 $4 $5 nsc_corr_dot($6)`'nsc_set_name(CURRENT_NAME)')
+
 # CNAME records
 
 define(CNAME, `$1      `CNAME' nsc_corr_dot($2)')