mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-11-29 21:18:38 +00:00
Always force AD bit to zero in authoritative DNS answers.
This commit is contained in:
1 file changed
+3
@@ -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