]> git.ipfire.org Git - thirdparty/bind9.git/commit
prevent "primaries" lists from having duplicate names
authorEvan Hunt <each@isc.org>
Fri, 26 Jun 2020 04:59:56 +0000 (21:59 -0700)
committerMichał Kępień <michal@isc.org>
Tue, 12 Jan 2021 14:21:14 +0000 (15:21 +0100)
commit1a32a4d001275528eddfebded0bcb9966c62818d
tree7dc9cd3e21a900eca98e4bb4a8867b63c46c7c28
parent746aa2581c4784a485412282a113caf2ad717325
prevent "primaries" lists from having duplicate names

it is now an error to have two primaries lists with the same
name. this is true regardless of whether the "primaries" or
"masters" keywords were used to define them.

(cherry picked from commit f619708bbfed238a2f12028bfc71c7ed3b35a4a8)
bin/named/config.c
bin/tests/system/checkconf/bad-duplicate-primaries-1.conf [new file with mode: 0644]
bin/tests/system/checkconf/bad-duplicate-primaries-2.conf [new file with mode: 0644]
bin/tests/system/checkconf/good-masters-and-primaries.conf [new file with mode: 0644]
doc/man/named.conf.5in
doc/misc/options
lib/bind9/check.c