]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Update dnssec-signzone -N soa-serial-format description
authorMark Andrews <marka@isc.org>
Fri, 11 Dec 2020 03:07:31 +0000 (14:07 +1100)
committerOndřej Surý <ondrej@isc.org>
Fri, 11 Dec 2020 09:48:28 +0000 (10:48 +0100)
document the autoincrement when the serial would go backwards.

bin/dnssec/dnssec-signzone.rst
doc/man/dnssec-signzone.1in

index 1abebd6713bd8d36ab4c8615818c2c25c3a3de14..3eef88d93b62c2c187a42d2fef9e8c17427d3b6d 100644 (file)
@@ -202,10 +202,16 @@ Options
       This format increments the SOA serial number using :rfc:`1982` arithmetic.
 
    **unixtime**
-      This format sets the SOA serial number to the number of seconds since the beginning of the Unix epoch.
+      This format sets the SOA serial number to the number of seconds
+      since the beginning of the Unix epoch, unless the serial
+      number is already greater than or equal to that value, in
+      which case it is simply incremented by one.
 
    **date**
-      This format sets the SOA serial number to today's date, in YYYYMMDDNN format.
+      This format sets the SOA serial number to today's date, in
+      YYYYMMDDNN format, unless the serial number is already greater
+      than or equal to that value, in which case it is simply
+      incremented by one.
 
 ``-o origin``
    This option sets the zone origin. If not specified, the name of the zone file is
index 930c1137e7f3e9d10e756677d76d1e5d318dccaa..c41769937c861ee3e37e056df8090bf7f72895bd 100644 (file)
@@ -203,10 +203,16 @@ This format indicates that the SOA serial number should not be modified.
 This format increments the SOA serial number using \fI\%RFC 1982\fP arithmetic.
 .TP
 \fBunixtime\fP
-This format sets the SOA serial number to the number of seconds since the beginning of the Unix epoch.
+This format sets the SOA serial number to the number of seconds
+since the beginning of the Unix epoch, unless the serial
+number is already greater than or equal to that value, in
+which case it is simply incremented by one.
 .TP
 \fBdate\fP
-This format sets the SOA serial number to today\(aqs date, in YYYYMMDDNN format.
+This format sets the SOA serial number to today\(aqs date, in
+YYYYMMDDNN format, unless the serial number is already greater
+than or equal to that value, in which case it is simply
+incremented by one.
 .UNINDENT
 .TP
 .B \fB\-o origin\fP