]> git.ipfire.org Git - thirdparty/bind9.git/commit
check validity of key and tls in a server-list
authorColin Vidal <colin@isc.org>
Tue, 25 Nov 2025 14:45:22 +0000 (15:45 +0100)
committerColin Vidal <colin@isc.org>
Fri, 28 Nov 2025 08:10:54 +0000 (09:10 +0100)
commit2956e4fc45b3c2142a3351682d4200647448f193
tree53c4be251ed28d530b042c9f6673048c76d2ca70
parent1a732b6b8ecc89232724d80adba84350976ae2ca
check validity of key and tls in a server-list

If a `key` or `tls` is associated to an IP address inside a server-list,
only the `tls` existence in the configuration was checked. Also, if
`key` or `tls` is associated to a named server-list inside a
server-list, there was no check at all.

Add the check for making sure a `key` is defined in the configuration,
as well as the check for `key` and `tls` when used on a named
server-list.
bin/named/config.c
lib/isccfg/check.c