mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-20 02:38:32 +00:00
Always force AD bit to zero in authoritative DNS answers.
This commit is contained in:
@@ -836,6 +836,9 @@ size_t answer_auth(struct dns_header *header, char *limit, size_t qlen, time_t n
|
|||||||
header->hb4 &= ~HB4_RA;
|
header->hb4 &= ~HB4_RA;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* data is never DNSSEC signed. */
|
||||||
|
header->hb4 &= ~HB4_AD;
|
||||||
|
|
||||||
/* authoritative */
|
/* authoritative */
|
||||||
if (auth)
|
if (auth)
|
||||||
header->hb3 |= HB3_AA;
|
header->hb3 |= HB3_AA;
|
||||||
|
|||||||
Reference in New Issue
Block a user