mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
3908. [bug] rndc now differentiates between a zone in multiple
views and a zone that doesn't exist at all. [RT #36691]
This commit is contained in:
@@ -7149,6 +7149,10 @@ zone_from_args(ns_server_t *server, char *args, const char *zonetxt,
|
||||
snprintf(problem, sizeof(problem),
|
||||
"no matching zone '%s' in any view",
|
||||
zonetxt);
|
||||
else if (result == ISC_R_MULTIPLE)
|
||||
snprintf(problem, sizeof(problem),
|
||||
"zone '%s' was found in multiple views",
|
||||
zonetxt);
|
||||
} else {
|
||||
result = dns_viewlist_find(&server->viewlist, viewtxt,
|
||||
rdclass, &view);
|
||||
|
Reference in New Issue
Block a user