define(REV, `nsc_if_v6($1,`nsc_revblock6($1).ip6.arpa',`nsc_revaddr($1).in-addr.arpa')')
+# DNSSEC wrapper
+
+define(`USE_DNSSEC')
+define(`DNSSEC', `define(`USE_DNSSEC',1)$1define(`USE_DNSSEC')')
+
# A for loop macro from m4 doc
define(`nsc_forloop',
define(`NAMED_RESTART_CMD', `rndc reload')
-define(`ROOT', `/etc/named')
define(`CFDIR', `cf')
-define(`ZONEDIR', `zone')
-define(`BAKDIR', `bak')
define(`VERSDIR', `ver')
-define(`HASHDIR', `hash')
define(`ROOTCACHE', `root.cache')
define(`REFRESH', HOURS(8))
',`'))
define(`MAINTNAME', `root'.`nsc_corr_dot(NSNAME)')
+define(`KEYGEN_OPTIONS', `-a RSASHA256 -b 1024')
+define(`SIGNZONE_OPTIONS', `-e +'DAYS(365))
+
# And finally we change comments to semicolons to be compatible with the zone files
changecom(;)