Update dnssec-signzone -N soa-serial-format description

document the autoincrement when the serial would go backwards.
This commit is contained in:
Mark Andrews
2020-12-11 14:07:31 +11:00
committed by Ondřej Surý
parent ef685bab5c
commit eb1b29b19e
2 changed files with 16 additions and 4 deletions

View 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

View 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