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

"DNS over HTTPS" support for Android 9 Private DNS #65

Open
lastzero opened this issue Jun 26, 2019 · 2 comments
Open

"DNS over HTTPS" support for Android 9 Private DNS #65

lastzero opened this issue Jun 26, 2019 · 2 comments

Comments

@lastzero
Copy link

It seems we can't use grimd as "Private DNS" on Android 9 😢

To enable this, we probably need "DNS over HTTPS" support. Is / was somebody working on it already? What would be the best way to implement it?

See https://www.quad9.net/private-dns-quad9-android9/ for details.

@lastzero
Copy link
Author

I managed to serve DNS requests via HTTPS using https://github.com/lastzero/tinydoh (branch "lastzero") and Caddy. Still not working with Android 9. Any idea?

You can use "curl" to query my test server:

curl -D - "https://dns.liquidbytes.net/dns-query?dns=q80BAAABAAAAAAAAB2V4YW1wbGUDY29tAAABAAE"

HTTP/1.1 200 OK
Content-Length: 56
Content-Type: application/dns-message
Date: Fri, 28 Jun 2019 01:49:14 GMT
Server: Caddy

?́?examplecomexamplecom??]??"

At least the content type looks good to me. It was wrong in the upstream repo.

@lastzero
Copy link
Author

lastzero commented Jun 28, 2019

Just learned that Google "Star Brilliant" published another DNS-over-HTTPS server written in Go: https://github.com/m13253/dns-over-https

So I guess using that makes sense instead of trying to build upon tinydoh and fix the issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants