Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update inet_res et.al. for RFC6891; EDNS with DNSSEC OK bit #6786

Merged

Conversation

RaimoNiskanen
Copy link
Contributor

Resolves #6606.

This implements the only bit I noticed was missing for RFC6891 from the original EDNS RFC2671, that is the DNSSEC OK bit (DO) in the OPT RR. By this we should be able to claim supporting RFC6891.

Still, we do not have any other DNSSEC records implemented, so they will be a possible future improvement.

Has anyone tried to use inet_res for DNSSEC records? I try to set this bit to see if I can get records, but has not succeeded.

inet_res:resolve("google.com", in, 30, [verbose, {edns, 0}, {dnssec_ok, true}]) does not return any "30" record, which should be NXT RR. Any pointers?

@RaimoNiskanen RaimoNiskanen self-assigned this Feb 3, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Feb 3, 2023

CT Test Results

       2 files       65 suites   1h 4m 6s ⏱️
1 456 tests 1 231 ✔️ 224 💤 1
1 644 runs  1 375 ✔️ 268 💤 1

For more details on these failures, see this check.

Results for commit 4d2bf0d.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@IngelaAndin IngelaAndin added the team:PS Assigned to OTP team PS label Feb 6, 2023
@RaimoNiskanen RaimoNiskanen added this to the OTP-26.0 milestone Feb 8, 2023
@RaimoNiskanen RaimoNiskanen merged commit e0929cc into erlang:master Feb 8, 2023
@RaimoNiskanen RaimoNiskanen linked an issue Mar 1, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team:PS Assigned to OTP team PS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[DNS] Old reference for EDNS [DNS] Add the DO (DNSSEC OK) flag to dns_rr_opt
2 participants