mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 22:45:39 +00:00
only set AD if they asked for DNSSEC
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -1,3 +1,6 @@
|
|||||||
|
569. [func] The DNSSEC AD bit will not be set on queries which
|
||||||
|
have not requested a DNSSEC response.
|
||||||
|
|
||||||
568. [func] Add sample simple database drivers in contrib/sdb.
|
568. [func] Add sample simple database drivers in contrib/sdb.
|
||||||
|
|
||||||
567. [bug] Setting the zone transfer timeout to zero caused an
|
567. [bug] Setting the zone transfer timeout to zero caused an
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: query.c,v 1.152 2000/11/16 19:20:08 tale Exp $ */
|
/* $Id: query.c,v 1.153 2000/11/20 17:53:35 halley Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@@ -3418,12 +3418,14 @@ ns_query_start(ns_client_t *client) {
|
|||||||
/*
|
/*
|
||||||
* Set AD. We need only clear it if we add "pending" data to
|
* Set AD. We need only clear it if we add "pending" data to
|
||||||
* a response.
|
* a response.
|
||||||
|
*
|
||||||
|
* XXX Note: the way AD is set will be changing in the near
|
||||||
|
* future.
|
||||||
*/
|
*/
|
||||||
message->flags |= DNS_MESSAGEFLAG_AD;
|
if (WANTDNSSEC(client))
|
||||||
|
message->flags |= DNS_MESSAGEFLAG_AD;
|
||||||
|
|
||||||
qclient = NULL;
|
qclient = NULL;
|
||||||
ns_client_attach(client, &qclient);
|
ns_client_attach(client, &qclient);
|
||||||
query_find(qclient, NULL);
|
query_find(qclient, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user