mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 05:28:00 +00:00
If a query is for type ANY, match the first view that otherwise matches.
This commit is contained in:
parent
11de9fbd8d
commit
651a38a706
@ -693,7 +693,9 @@ client_request(isc_task_t *task, isc_event_t *event) {
|
||||
/*
|
||||
* XXXRTH View matching will become more powerful later.
|
||||
*/
|
||||
if (client->message->rdclass == view->rdclass) {
|
||||
if (client->message->rdclass == view->rdclass ||
|
||||
client->message->rdclass == dns_rdataclass_any)
|
||||
{
|
||||
dns_view_attach(view, &client->view);
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user