]> git.ipfire.org Git - thirdparty/bind9.git/commit
Print warning when falling back to increment soa serial method
authorOndřej Surý <ondrej@sury.org>
Thu, 10 Dec 2020 09:31:31 +0000 (10:31 +0100)
committerOndřej Surý <ondrej@isc.org>
Fri, 11 Dec 2020 09:48:28 +0000 (10:48 +0100)
commitef685bab5c0ce68e98328dd19dfb1fb8f9d0fdee
treea179b076904f8ff26787fc51f62deafba43ebf1a
parent3e4f5319efb9f465386baeba40ff3359c8642293
Print warning when falling back to increment soa serial method

When using the `unixtime` or `date` method to update the SOA serial,
`named` and `dnssec-signzone` would silently fallback to `increment`
method to prevent the new serial number to be smaller than the old
serial number (using the serial number arithmetics).  Add a warning
message when such fallback happens.
bin/dnssec/dnssec-signzone.c
lib/dns/include/dns/update.h
lib/dns/tests/update_test.c
lib/dns/update.c
lib/dns/zone.c
lib/ns/update.c