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

doh-proxy works with doh-stub but not with firefox #9

Closed
Chaz6 opened this issue Aug 9, 2018 · 1 comment
Closed

doh-proxy works with doh-stub but not with firefox #9

Chaz6 opened this issue Aug 9, 2018 · 1 comment

Comments

@Chaz6
Copy link

Chaz6 commented Aug 9, 2018

I have set up an instance of doh-proxy at https://www.chaz6.com/dns-query (via an nginx proxy). I have verified it works with doh-stub, however when I set the following in Firefox (both latest stable and beta), dns resolution fails, and I am unsure what is wrong.

network.trr.uri = https://www.chaz6.com/dns-query
network.trr.mode = 3
network.trr.bootstrapAddress = 176.9.40.67

I would appreciate any help to find out what is broken.

@jedisct1
Copy link
Member

I found the Firefox trr.mode=3 to be extremely unreliable. Once it starts working, it's fine, but at least on MacOS, it often just doesn't send anything at all.

Changing network.trr.bootstrapAddress to some random address back and forth seems to help start the process.

Also note that network.trr.bootstrapAddress has to be the IP address of a DoH server, this is not a bootstrap DNS server as in dnscrypt-proxy.

Which is why I'm wondering if the startup issue is not due to it requiring a valid certificate for https://<bootstrap ip>. That would explain why it seems to be more reliable with Cloudflare.

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