Skip to content

Conversation

@thomaseizinger
Copy link
Member

Firefox uses this so-called canary domain use-application-dns.net to detect, whether it should use DoH for its DNS queries. If answered with a server error or without records, Firefox disables DoH as long as it only its "Default protection" is enabled. If a user forces DoH, this hint from the network is ignored.

See https://support.mozilla.org/en-US/kb/canary-domain-use-application-dnsnet for details.

I tested this on MacOS and Firefox does indeed instantly disable DoH. A default installation of Chrome doesn't use DoH for me.

Related: #6375.

@vercel
Copy link

vercel bot commented Sep 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
firezone ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 26, 2024 9:56pm

@jamilbk
Copy link
Member

jamilbk commented Sep 26, 2024

Good find! I stumbled on that this morning and forgot to update the issue. Relevant reading: https://www.chromium.org/developers/dns-over-https/#faq

Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
Signed-off-by: Thomas Eizinger <thomas@eizinger.io>
Copy link
Contributor

@conectado conectado left a comment

Choose a reason for hiding this comment

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

Very nice!

Signed-off-by: Thomas Eizinger <thomas@eizinger.io>
@thomaseizinger thomaseizinger added this pull request to the merge queue Sep 26, 2024
Merged via the queue into main with commit 81564e2 Sep 26, 2024
@thomaseizinger thomaseizinger deleted the fix/disable-doh-firefox branch September 26, 2024 22:21
@thomaseizinger
Copy link
Member Author

This should probably have a changelog entry.

github-merge-queue bot pushed a commit that referenced this pull request Sep 27, 2024
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.

4 participants