Inline signing error on BIND 9.21.28 for (DELEGated) zone with no NS records

Martin Thorpe martin at thorpe.org.uk
Sun Nov 22 15:13:20 UTC 2026


Hi,

I’ve been trying out the new authoritative-side DELEG code in 9.21.28 and have run into a little problem with inline signing when a zone has no NS records.

Rough setup: one “primary” view that consumes the source unsigned zones, and an “authoritative” view that is a secondary of the primary view, applying in-line signing with a DNSSEC policy. That is then replicated with another primary/authoritative pair listening on different IPs and serving slightly different versions of the zones to identify whether you get there via DELEG or NS. All of the views are running on the same instance of BIND 9.21.28 in case that’s important.

There are 3 zones set up in each primary view, one that’s just delegated from the parent using NS, one that’s delegated with DELEG and NS, and one just delegated with DELEG — so no NS RRSET in the parent, and none in the child.

When I start the daemon, I get zoneload warnings from the primary views for the zone that doesn’t have an NS RRSET — as expected, according to the release notes. Primary notifies secondary, secondary does an AXFR and gives the same zoneload warning, but I then get this error:

22-Nov-2026 14:41:07.910 general: error: zone deleg-only.test.met24.io/IN/authoritative-test1 (signed): inline secure bootstrap: bad zone

… and no signed zone file gets written, nor is the zone served.

If I add a dummy NS RRSET to the zone and reload it everything goes through as expected. I can then remove the NS RRSET and reload, and I still get the zoneload warnings from both views but now no errors, and the NS record has gone from the signed zone as well. Unfortunately if I restart the daemon I get the "inline secure bootstrap: bad zone” errors again so the workaround isn't perfect.

Please let me know if you’d like me to raise a ticket on this and/or send you full config and log files.

Many thanks!

Martin


More information about the bind-users mailing list