Skip to content

Conversation

@wcawijngaards
Copy link
Member

This adds TSIG for zone transfers. For auth-zones and RPZ zones, the AXFR and IXFR can be with TSIG.

TSIG keys are configured as a tsig-key: entry with name: <key name> and algorithm: <algorithm name> and secret: <base64 blob>.

The auth-zone: can have primary-tsig: <addr or name> <TSIG key name> and allow-notify-tsig: <addr or name or netblock> <TSIG key name>. Also an rpz: can have primary-tsig and allow-notify-tsig. If the notify is set to use TSIG, then unbound has to receive the notify signed with that TSIG key to process it, it is refused otherwise. The primary is contacted, for SOA probe and for AXFR and for IXFR, with the TSIG for the zone transfer.

This conforms with RFC2845 and RFC8945. The unit test has the digests match TSIG digests from NSD and dig.

  that works with output that works with dig and NSD.
  unit test for auth zone with notify with tsig and notify answer with tsig.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Review In Progress

Development

Successfully merging this pull request may close these issues.

1 participant