]> 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>
Sat, 12 Dec 2020 07:07:51 +0000 (08:07 +0100)
document the autoincrement when the serial would go backwards.

(cherry picked from commit eb1b29b19ecf5b0bfb2e2b9dc56972d5f015859e)

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

index 7a4c801fad9deaddc0b0f9eb5c19e033fab10ffd..2b395ef95d48171d737c669399098aa29f894bc4 100644 (file)
@@ -203,10 +203,16 @@ Options
       Increment the SOA serial number using :rfc:`1982` arithmetic.
 
    ``"unixtime"``
-      Set the SOA serial number to the number of seconds since 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"``
-      Set 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
    The zone origin. If not specified, the name of the zone file is
index 7eaad271a319b1422509bb9bb3f2bed598966e72..5bc522be5a84f08a16fe6a6dfb88f2a9469ae7e9 100644 (file)
@@ -204,10 +204,16 @@ Do not modify the SOA serial number.
 Increment the SOA serial number using \fI\%RFC 1982\fP arithmetic.
 .TP
 .B \fB"unixtime"\fP
-Set the SOA serial number to the number of seconds since 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
 .B \fB"date"\fP
-Set 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
 \fB\-o\fP origin