]> git.ipfire.org Git - thirdparty/bind9.git/commit
checkconf: check key existence in views
authorColin Vidal <colin@isc.org>
Mon, 23 Feb 2026 18:36:19 +0000 (19:36 +0100)
committerColin Vidal <colin@isc.org>
Sun, 1 Mar 2026 12:41:53 +0000 (13:41 +0100)
commit867a85713ebbd848dafcf9f70a665d2ada9f2eef
treee1f144d7a95769e7f2e12cc69875f2976976343e
parentc460ce84302c18cc4d76099a5ba1a62a6ce1f083
checkconf: check key existence in views

Commit `2956e4fc45b3c2142a3351682d4200647448f193` 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.

(cherry picked from commit b90399ebdcd97dba7938c872961b6f60f6db623f)
lib/isccfg/check.c