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

fix(ext/net): enable EDNS0 for Deno.resolveDns #27735

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

kt3k
Copy link
Member

@kt3k kt3k commented Jan 20, 2025

This PR enables EDNS0 option in resolver.lookup call. This allows about x2 message size in DNS udp response, and makes the issue like #27670 less likely to happen.

related issue in hickory-dns hickory-dns/hickory-dns#2140

closes #27670

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, great catch

@@ -662,6 +662,8 @@ where
system_conf::read_system_conf()?
};

opts.edns0 = true;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nits: Please add a comment here 🙇

@kt3k
Copy link
Member Author

kt3k commented Jan 22, 2025

hmm, looks like the DNS mock server implementation in node compat test utils are not compatible with hickory-dns resolver with EDNS0 enabled 😓 I need to figure out what the exact issue with those utils..

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.

Deno 2.1.5 regressions with DNS regarding axios (due to node compat change)
3 participants