mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-08 23:12:09 -04:00
If a query is for type ANY, match the first view that otherwise matches.
This commit is contained in:
parent
11de9fbd8d
commit
651a38a706
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Reference in a new issue