config.m4, *.in: Centralize the zone serial in the config.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 1 Jul 2016 22:56:03 +0000 (23:56 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 1 Jul 2016 22:56:03 +0000 (23:56 +0100)
Really I ought to arrange to update it automatically.

config.m4
dnserr.in
dummy.in

index f5424c0..75c6580 100644 (file)
--- a/config.m4
+++ b/config.m4
@@ -2,6 +2,7 @@
 ###
 ### Configuration for `distorted.org.uk'.
 
+m4_define([SERIAL], [2016070102])
 m4_define([MASTER], [radius.BASE])
 m4_define([NAMESERVERS], [
        [radius.ns, 62.49.204.146, 2001:470:1f09:1b98::2],
index fa16859..be50058 100644 (file)
--- a/dnserr.in
+++ b/dnserr.in
@@ -9,7 +9,7 @@ $TTL 14400
 
 @                      IN      SOA     MASTER. (
                                                CONTACT.
-                                            2014050410      ;serial
+                                                SERIAL      ;serial
                                                  86400      ;refresh
                                                   3600      ;retry
                                                1209600      ;expire
index f710564..0e8ee4d 100644 (file)
--- a/dummy.in
+++ b/dummy.in
@@ -6,7 +6,7 @@ $TTL 14400
 
 @              IN      SOA     MASTER. (
                                        CONTACT.
-                                            2012033100      ;serial
+                                                SERIAL      ;serial
                                                  86400      ;refresh
                                                   3600      ;retry
                                                1209600      ;expire