silkeh/pdns_api.sh

Send all rrsets for same domain/zone in one update

joachimtingvold opened this issue · 0 comments

Not sure if this is intentional, but pdns_api.sh currently sends a new update for each rrset, even if all the rrsets are within the same domain/zone (when using HOOK_CHAIN="yes" in dehydrated). Even if there used to be corner cases where subdomains of a domain would be in multiple zones within pdns, this is no longer the case, as this can be handled with the zones.txt.

The downside of sending an update for each rrset, is that the SOA is incremented quite a lot if you have a lot of subdomains that you're requesting certificates for (i.e. when using SOA-EDIT-API = INCEPTION-INCREMENT). If they were sent in the same update, the SOA would only increment once (or twice, due to the "bug" that it increments twice regardless -- there is a issue for this on the pdns GitHub page).

If this is intentional; please consider this a feature request. If this is not intentional; please consider this a bug (-: