Files
bind9/lib/dns
Matthijs Mekking 0ae3ffdc1c Fix NSEC3 resalting upon restart
When named restarts, it will examine signed zones and checks if the
current denial of existence strategy matches the dnssec-policy. If not,
it will schedule to create a new NSEC(3) chain.

However, on startup the zone database may not be read yet, fooling
BIND that the denial of existence chain needs to be created. This
results in a replacement of the previous NSEC(3) chain.

Change the code such that if the NSEC3PARAM lookup failed (the result
did not return in ISC_R_SUCCESS or ISC_R_NOTFOUND), we will try
again later. The nsec3param structure has additional variables to
signal if the lookup is postponed. We also need to save the signal
if an explicit resalt was requested.

In addition to the two added boolean variables, we add a variable to
store the NSEC3PARAM rdata. This may have a yet to be determined salt
value. We can't create the private data yet because there may be a
mismatch in salt length and the NULL salt value.
2021-06-09 09:14:09 +02:00
..
2021-01-19 10:12:40 +01:00
2020-11-25 08:25:29 +11:00
2021-01-29 12:07:38 +01:00
2021-05-26 08:16:35 +10:00
2021-02-23 09:16:48 +01:00
2021-05-19 00:45:54 +00:00
2020-12-01 10:46:58 +11:00
2021-05-20 09:15:43 +02:00
2021-05-26 08:15:08 +00:00
2021-06-09 09:14:09 +02:00