]> mj.ucw.cz Git - nsc-5.git/blobdiff - m4/nsc.m4
Added a global configuration file.
[nsc-5.git] / m4 / nsc.m4
index ca05641d667b0e43324d0c1c7fc25c2c9f68db18..5f56686d1c5fa44d42fc0259bfecf87dea23c696 100644 (file)
--- a/m4/nsc.m4
+++ b/m4/nsc.m4
@@ -1,6 +1,6 @@
 dnl ###
-dnl ### NSC 2.0 -- Zone File Generator
-dnl ### (c) 1997 Martin Mares <mj@gts.cz>
+dnl ### NSC 2.3 -- Zone File Generator
+dnl ### (c) 1997--2000 Martin Mares <mj@ucw.cz>
 dnl ###
 dnl ### Usage: m4 nsc.m4 domain-source-files >zone-file
 dnl ###    Or: m4 nsc.m4 domain-source-files >rev-zone-file -DREVERSE=net-ip -DREVBASE=net-ip-to-SOA
@@ -49,7 +49,7 @@ define(emit_name, `ifdef(`keep_addr', `keep_addr`'undefine(`keep_addr')', `$1')'
 
 define(DO_SOA, `divert; Primary file for the whole_domain domain generated on curdate
 
-corr_dot(whole_domain) `SOA'   corr_dot(nsname) maintname (
+whole_domain.  `SOA'   corr_dot(nsname) maintname (
                version refresh retry expire minttl )')
 define(SOA, `ifdef(`Xdomain',`define(`Xdomain',$1)',`define(`Xdomain',$1)DO_SOA')')
 
@@ -101,3 +101,5 @@ localhost   A       127.0.0.1
 divert`'ifdef(`REVERSE',`
 ')')
 m4wrap(`cleanup')
+
+include(cf/config)