Generates a series of CNAME records pointing from the aliases
to the current host/domain.
+TXT(text)
+ Generate a TXT record for the current host or domain.
+
+RP(mail, txt)
+ Generate a RP (responsible person) record for the current host or domain.
+ The first argument is a mail address in DNS notation (with `@' replaced
+ by `.' as in the SOA record), the second one is a name of a TXT record
+ with contact information.
+
CNAME(src, dest)
Generate a CNAME record -- "src" points to "dest".
ALIAS(fairytales, scifi, horror)
MX(0 mail.example.com)
+; Hosts with TXT and RP records
+
+H(c)
+TXT(Once upon a midnight dreary)
+TXT(When I pondered weak and weary)
+
+H(d)
+RP(admin.example.com, c)
+
; A subdomain called a.example.com
D(a)
')
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)')