From: Mark Wooding Date: Fri, 1 Jul 2016 22:56:03 +0000 (+0100) Subject: config.m4, *.in: Centralize the zone serial in the config. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/dnserr/commitdiff_plain/c045b77898e8992b9ad9918ecdefb5645e8246e6?ds=inline config.m4, *.in: Centralize the zone serial in the config. Really I ought to arrange to update it automatically. --- diff --git a/config.m4 b/config.m4 index f5424c0..75c6580 100644 --- 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], diff --git a/dnserr.in b/dnserr.in index fa16859..be50058 100644 --- 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 diff --git a/dummy.in b/dummy.in index f710564..0e8ee4d 100644 --- 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