]> git.ipfire.org Git - thirdparty/bind9.git/commit
check remote-servers list correctness
authorColin Vidal <colin@isc.org>
Tue, 25 Nov 2025 14:34:26 +0000 (15:34 +0100)
committerColin Vidal <colin@isc.org>
Fri, 28 Nov 2025 14:15:46 +0000 (15:15 +0100)
commitb260f7be90a20547bbbc456e08d9b4ba93905f01
tree976727feb9d9ff85e79b1d73bb12ffcec67fcdae
parentf2b46d8a6aa16926e94425c2f8bfddf098c42331
check remote-servers list correctness

`check.c` only checks if `remote-servers`, `primaries`, etc. are not
duplicated inside the configuration file, but does not check the
correctness of its definition. This commit fixes this by calling
`validate_remotes()` for each `remote-servers` (and other aliases),
which validates the correctness of the definition itself (this is the
same call done to validate other cases like `also-notify`, etc.).

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