fix serial incrementing

This commit is contained in:
Joey Hess 2015-01-04 14:17:33 -04:00
parent 0ec9b5b454
commit 43e15c8add
1 changed files with 5 additions and 1 deletions

View File

@ -78,7 +78,11 @@ forceZoneSigned domain zonefile = property ("zone signed for " ++ domain) $ lift
let p = proc "dnssec-signzone" let p = proc "dnssec-signzone"
[ "-A" [ "-A"
, "-3", salt , "-3", salt
, "-N", "keep" -- The serial number needs to be increased each time the
-- zone is resigned, even if there are no other changes,
-- so that it will propigate to secondaries. So, use the
-- unixtime serial format.
, "-N", "unixtime"
, "-o", domain , "-o", domain
, zonefile , zonefile
-- the ordering of these key files does not matter -- the ordering of these key files does not matter