johanix / tdns

Authoritative nameserver + tools. Intended for experiments and testing new things.
BSD 2-Clause "Simplified" License
1 stars 0 forks source link

multi-signer prep #33

Open johanix opened 3 months ago

johanix commented 3 months ago

There are a number of things needed for tdnsd to be a viable "signer" in a multi-signer context. Among them:

Initially we will not add any key rollover support to TDNSD.

johanix commented 3 months ago

How should a MUSIC sidecar and TDNSD shake hands? In the API case we can do whatever we want, but in the tdns-agent + DDNS updates the communication is more limited. The base line things that need to be established are:

For DNSKEYs it would seem suitable to send a NOTIFY(DNSKEY) when changing ZSKs, but perhaps a NOTIFY(CDS) when changing KSKs. For changes to the delegation data, why not send a NOTIFY(CSYNC) to MUSIC (in addition to sending it to the parent).

How to know where to send these notifications? TDNSD/tdns-agent could look for the DSYNC RRset in the zone, but for a new scheme, perhaps "MULTI-SIGNER NOTIFY", aka scheme=4.