Skip to content

Expose DNSSEC AD and CD flags separately from Z - #1239

Open
AshSgDe29071999 wants to merge 1 commit into
google:masterfrom
AshSgDe29071999:fix/dns-ad-cd-flags
Open

Expose DNSSEC AD and CD flags separately from Z#1239
AshSgDe29071999 wants to merge 1 commit into
google:masterfrom
AshSgDe29071999:fix/dns-ad-cd-flags

Conversation

@AshSgDe29071999

Copy link
Copy Markdown

RFC 4035 uses one reserved Z bit; AD and CD occupy the other two. Decode and serialize those flags instead of packing all three into Z.

Fixes #1225

Test

go test ./layers -run TestDNSADCDFlags -count=1

RFC 4035 uses one reserved Z bit; AD and CD occupy the other two.
Decode and serialize those flags instead of packing all three into Z.

See google#1225
@google-cla

google-cla Bot commented Sep 4, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Out-of-date Z-Flag in DNS headers (AD, CD are missing)

1 participant