I'm using BIND 9.16 new dnssec-policy
feature on my zones, following the guide to enable DNSSEC. Everything worked like a charm.
Now, I need to add another record to one of my zones, but after editing the zone file on /var/lib/bind/db.mydomain.com and using:
rndc reload
systemctl restart bind9
my .key file Kmydomain.com.xxxx.key is not being updated and on the logs, I see messages with the old serial for the zone (signed) and the new serial for the zone (unsigned).
Oct 8 13:07:04 bind named[622]: zone mydomain.com/IN (unsigned): loaded serial 2021100801
...
Oct 8 13:07:04 bind named[622]: zone mydomain.com/IN (signed): loaded serial 2021100607 (DNSSEC signed)
...
Oct 8 13:07:04 bind named[622]: all zones loaded
Oct 8 13:07:04 bind named[622]: running
Oct 8 13:07:04 bind named[622]: zone mydomain.com/IN (signed): receive_secure_serial: unchanged
Oct 8 13:07:04 bind named[622]: zone mydomain.com/IN (signed): sending notifies (serial 2021100607)
Oct 8 13:07:04 bind named[622]: zone mydomain.com/IN (signed): reconfiguring zone keys
...
Oct 8 13:07:04 bind named[622]: zone mydomain.com/IN (signed): next key event: 08-Oct-2021 17:59:00.636
Reading the docs, I can't find references to a manual step to ask BIND to resign my zone, and I would like to know how to proceed.
My zone for the domain on /etc/bind/named.conf.local is
zone "mydomain.com" in {
type master;
file "/var/lib/bind/db.mydomain.com";
allow-transfer { 123.123.123.123; };
also-notify { 123.123.123.123; };
dnssec-policy default;
};