zone events: separate event for DNSSEC signing
Currently, the zone signing is hooked to events, which modify the content of the published zone, i.e. zone loading and DDNS. This is also the reason, why we disable incoming transfers when the automatic signing is enabled.
Idea:
- let's have two zone contents in the zone structure:
- the zone being published (can be NULL)
- the zone to be published soon
- let's have a separate event for DNSSEC signing, which will take the zone to be published soon, sign that zone, and set the zone as the zone being published
Result:
- the zone loading will set the zone to be published soon and schedule zone signing to as soon as possible
- the same with DDNS
- we can enable incoming AXFR for dnssec enbaled zones (not IXFR) and do the very same thing
- maybe this will help us simplify the new zone API
Ideas? @mvavrusa @jkadlec