mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
return notimp for qcount=0 unimplemeneted opcodes
(cherry picked from commit 7c10dc502a34f88f11c6b6469bb234c72e61fec8)
This commit is contained in:
@@ -2296,6 +2296,8 @@ client_request(isc_task_t *task, isc_event_t *event) {
|
|||||||
ns_client_error(client, result);
|
ns_client_error(client, result);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (notimp)
|
||||||
|
client->message->rcode = dns_rcode_notimp;
|
||||||
ns_client_send(client);
|
ns_client_send(client);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user