mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 03:59:59 -04:00
[master] turn on minimal responses for CDS/CDNSKEY
4678. [cleanup] Turn on minimal responses for CDNSKEY and CDS in addition to DNSKEY and DS. Thanks to Tony Finch. [RT #45690]
This commit is contained in:
parent
07675caf4f
commit
391a3a2f20
2 changed files with 9 additions and 2 deletions
4
CHANGES
4
CHANGES
|
|
@ -1,3 +1,7 @@
|
|||
4678. [cleanup] Turn on minimal responses for CDNSKEY and CDS in
|
||||
addition to DNSKEY and DS. Thanks to Tony Finch.
|
||||
[RT #45690]
|
||||
|
||||
4688. [protocol] Check and display EDNS KEY TAG options (RFC 8145) in
|
||||
messages. [RT #44804]
|
||||
|
||||
|
|
|
|||
|
|
@ -9513,11 +9513,14 @@ ns_query_start(ns_client_t *client) {
|
|||
}
|
||||
|
||||
/*
|
||||
* Turn on minimal response for DNSKEY and DS queries.
|
||||
* Turn on minimal response for (C)DNSKEY and (C)DS queries.
|
||||
*/
|
||||
if (qtype == dns_rdatatype_dnskey || qtype == dns_rdatatype_ds)
|
||||
if (qtype == dns_rdatatype_dnskey || qtype == dns_rdatatype_ds ||
|
||||
qtype == dns_rdatatype_cdnskey || qtype == dns_rdatatype_cds)
|
||||
{
|
||||
client->query.attributes |= (NS_QUERYATTR_NOAUTHORITY |
|
||||
NS_QUERYATTR_NOADDITIONAL);
|
||||
}
|
||||
|
||||
/*
|
||||
* Maybe turn on minimal responses for ANY queries.
|
||||
|
|
|
|||
Loading…
Reference in a new issue