mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 12:50:00 -04:00
1966. [bug] Don't set CD when we have fallen back to plain DNS.
[RT #15727]
This commit is contained in:
parent
a957b9ccdc
commit
14c80ce1b2
1 changed files with 7 additions and 1 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: resolver.c,v 1.326 2006/01/05 02:19:02 marka Exp $ */
|
||||
/* $Id: resolver.c,v 1.327 2006/01/06 00:38:21 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -1351,6 +1351,12 @@ resquery_send(resquery_t *query) {
|
|||
goto cleanup_message;
|
||||
}
|
||||
|
||||
/*
|
||||
* Clear CD if EDNS is not in use.
|
||||
*/
|
||||
if ((query->options & DNS_FETCHOPT_NOEDNS0) != 0)
|
||||
fctx->qmessage->flags &= ~DNS_MESSAGEFLAG_CD;
|
||||
|
||||
/*
|
||||
* Add TSIG record tailored to the current recipient.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue