Add Authentic Data (AD) and Checking Disabled (CD) flags to twisted.names.dns.Message
|Reported by:||Richard Wall||Owned by:||Richard Wall|
branch-diff, diff-cov, branch-cov, buildbot
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.