Add Authentic Data (AD) and Checking Disabled (CD) flags to twisted.names.dns.Message
|Reported by:||rwall||Owned by:||rwall|
(github, patch, buildbot, log)
Two previously unused bits are allocated out of the DNS query/response format header. The AD (authentic data) bit indicates in a response that all the data included in the answer and authority portion of the response has been authenticated by the server according to the policies of that server. The CD (checking disabled) bit indicates in a query that Pending (non-authenticated) data is acceptable to the resolver sending the query.
I'd originally planned to add these to the new EDNSMessage class in #5675, and not touch the original Message class.
However Message doesn't provide any way of altering the unused Z bits in byte4.
Change History (9)
comment:7 Changed 2 years ago by rwall
- Resolution set to fixed
- Status changed from assigned to closed