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

OS-level ECH support/forwarding #413

Open
brian6932 opened this issue Oct 25, 2024 · 4 comments
Open

OS-level ECH support/forwarding #413

brian6932 opened this issue Oct 25, 2024 · 4 comments

Comments

@brian6932
Copy link

brian6932 commented Oct 25, 2024

So with Firefox 129,

HTTPS DNS records can now be resolved with the operating system's DNS resolver on specific platforms (Windows 11, Linux, Android 10+). Previously this required DNS over HTTPS to be enabled. This capability allows the use of HTTP/3 without needing to use the Alt-Svc header, upgrades requests to HTTPS when the DNS record is present, and enables wider use of ECH.

One thing that keeps me on network.trr.mode 3, is that I can't currently use ECH (Encrypted Client Hello) with routedns on Windows. I'm on 10, which technically does have encrypted dns when the relevant registry keys are set, but it never really showed up for me in the OS' UI. On my android phone, this just works with the native DNS client. It'd be cool if somehow routedns could forward this data (when network.trr.mode is 5 or 0) the same way the OS' DNS client does.

@folbricht
Copy link
Owner

Just to make sure I understand, the ask is to support ECH in the DoT server config in routedns? Not sure what you mean by "forwarding".

Support for server ECH in Go seems to be coming early 2025 as per golang/go#68500, though it's already available for clients

@brian6932
Copy link
Author

Just to make sure I understand, the ask is to support ECH server config in routedns?

Yea, sorry for the weird wording, I don't really know if there's anything different in the OS implementation (is it just the port?).

in the DoT server

Well I use DoH3, and it seems to work with ECH (on Firefox), only DoT on android.

@folbricht
Copy link
Owner

I think this will need to wait for ECH support to be added to Go (scheduled for early 2025). At that point I should be able to support it in routedns

@brian6932
Copy link
Author

It has been pushed to master golang/go@f697114

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

No branches or pull requests

2 participants