Replies: 1 comment 6 replies
-
Thanks for asking. The Z in the datagram has 3 bits with 1 unused. The used ones are Authentic Data (AD) and Checking Disabled (CD). The DNSSEC OK (DO) flag is set in the EDNS flags. If DO flag is not set then the Z part is ignored by the DNS server. When DO is set then it check for the CD flag which decided if the server should return validated response of raw response for the client to validate by itself. The AD flag is set in response when the answer is DNSSEC validated if DO flag was set in request. The DNS server always sets the CD flag in requests to upstream along with the DO flag in the EDNS flags if DNSSEC validation is enabled. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
My question is strictly related to the Z flag bit. AFAIK only 2 uses are documented by RFCs: Reserved bit as always 0 and DNSSEC OK for 0x0800 or something like that.
What happens when a request with a non-compliant Z flag comes to DNS server?
I am asking as this is a documented C2 usage for DNS traffic.
Beta Was this translation helpful? Give feedback.
All reactions