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

inet_res: relax RD flag query/response check #8312

Merged
merged 1 commit into from Apr 12, 2024

Conversation

juhlig
Copy link
Contributor

@juhlig juhlig commented Mar 26, 2024

Fixes #8303, as suggested by @Maria-12648430.

Section 3.1.3 of RFC 8906 suggests that DNS servers that do not understand a flag should not copy it to the response. Further, section 3.1.3.1 suggests that non-recursive servers should respond as if the RD flag was not set.

Copy link
Contributor

github-actions bot commented Mar 26, 2024

CT Test Results

    2 files     67 suites   1h 2m 44s ⏱️
1 527 tests 1 284 ✅ 243 💤 0 ❌
1 729 runs  1 437 ✅ 292 💤 0 ❌

Results for commit 604f28b.

♻️ 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

@RaimoNiskanen RaimoNiskanen changed the base branch from master to maint-26 April 4, 2024 14:57
@RaimoNiskanen
Copy link
Contributor

Looks just fine. I might have preferred a more traditional style for the guard check, but don't think it is worth the change,

I have rebased to target this for the next patch on OTP-26.

@RaimoNiskanen
Copy link
Contributor

The PR is now merged to 'maint' and 'master', and in the pipeline for OTP-26.2.4 ('maint-26').

I hope this PR and the linked Issue will auto close when that is release, if not I will have to step in...

Thank you for your contribution!

@juhlig
Copy link
Contributor Author

juhlig commented Apr 5, 2024

Thank you for your contribution!

You're welcome :)

@rickard-green rickard-green merged commit 22607f6 into erlang:maint-26 Apr 12, 2024
16 checks passed
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.

inet_res:lookup failed to get correct result on OTP 26.2.2
4 participants