]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.20] fix: usr: Resolve "key defined in view is not found"
authorColin Vidal <colin@isc.org>
Sun, 1 Mar 2026 19:01:20 +0000 (20:01 +0100)
committerColin Vidal <colin@isc.org>
Sun, 1 Mar 2026 19:01:20 +0000 (20:01 +0100)
commit819fe452745382a4e6410e7b3ea3b65346cd7ac7
treec12be456a7b29fd91250a548ddb6b4f4ca431699
parentc460ce84302c18cc4d76099a5ba1a62a6ce1f083
parent6d75e03971aef2f3ff4a37bc1d83f4d07cb9d850
[9.20] fix: usr: Resolve "key defined in view is not found"

Commit `2956e4fc` hardened the `key` name check when used in `primaries` to reject the configuration if the key was not defined, rather than simply checking whether the key name was correctly formed.

However, the key name check didn't include the view configuration, causing keys not to be recognized if they were defined inside the view and not at the global level.  This regression is now fixed.

Backport of MR !11588

Closes #5761

Merge branch 'backport-5761-key-view-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!11613