DNS over HTTPS / .well-known in path

Recently, Firefox team announced that they will use Cloudflare DoH service and there was an insightful blog post by Daniel Stenberg:

Example of using dns2doh tool is using path containing .well-known

I did install Firefox Nightly to try it out, and about:config shows that Firefox is using this path:
network.trr.uri;https://dns.Cloudflare.com/.well-known/dns

Official documentation references only simple /dns-query path:

Cloudflare proxy also uses /dns-query without .well-known:
https://github.com/Cloudflare/Cloudflared/blob/200ea2bfc61920b2ca2aea2a4a94d56ab435fdeb/cmd/Cloudflared/main.go#L271

Are /.well-known/dns-query, .well-known/dns and /dns-query different somehow? Or exactly the same?

/.well-known was used in early drafts, but dropped in later drafts.

3 Likes

Thanks to jedisct1 mention of RFC drafts, I did some research on DoH and found this: .well-known · Issue #24 · dohwg/draft-ietf-doh-dns-over-https · GitHub
Discussion from issue and -02 draft (HTTP2 server push part) completely answer my question.

1 Like

This topic was automatically closed after 14 days. New replies are no longer allowed.