question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[doh] re-enable buildChantra

See original GitHub issue

It should be possible to re-enable buildChantra in https://github.com/square/okhttp/blob/master/okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.java#L109

It now support draft-13 (only). Also it should be accessible over IPv6 and IPv4.

Now, mind this is not an enterprise grade setup 😃 it may be just easier to spin up a local proxy by pip installing doh-proxy and forwarding DNS requests to a well know open resolver provider (or whatever may be locally available).

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
yschimkecommented, Aug 23, 2018

With IPv4 only

uncached
********

Testing https://dns.dnsoverhttps.net/dns-query
google.com: [/216.58.194.174]
graph.facebook.com: [/157.240.22.19]
sdflkhfsdlkjdf.ee: java.net.UnknownHostException: sdflkhfsdlkjdf.ee: NXDOMAIN

Time: 1.964 seconds

cached first run
****************

Testing https://dns.dnsoverhttps.net/dns-query
google.com: [/216.58.194.174]
graph.facebook.com: [/157.240.22.19]

Time: 0.337 seconds

cached second run
*****************

Testing https://dns.dnsoverhttps.net/dns-query
google.com: [/216.58.194.174]
graph.facebook.com: [/157.240.22.19]

Time: 0.015 seconds

With IPv4 and IPv6

uncached
********

Testing https://dns.dnsoverhttps.net/dns-query
google.com: []
graph.facebook.com: []
sdflkhfsdlkjdf.ee: []

Time: 2.132 seconds

cached first run
****************

Testing https://dns.dnsoverhttps.net/dns-query
google.com: []
graph.facebook.com: []

Time: 0.379 seconds

cached second run
*****************

Testing https://dns.dnsoverhttps.net/dns-query
google.com: []
graph.facebook.com: []

Time: 0.016 seconds
1reaction
chantracommented, Aug 21, 2018

oh, and if things are still failing, I like to know more to dig and see what the issue is 😃 Feel free to open an issue against https://github.com/facebookexperimental/doh-proxy

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found