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

Support multi-upstream DNS servers and optimistic DNS. #2539

Closed
lancelot-moon opened this issue Feb 11, 2019 · 7 comments
Closed

Support multi-upstream DNS servers and optimistic DNS. #2539

lancelot-moon opened this issue Feb 11, 2019 · 7 comments

Comments

@lancelot-moon
Copy link

lancelot-moon commented Feb 11, 2019

  1. Multi-upstream DNS servers such as what is in AG Home.
    Examples:
    1.1.1.1 - regular DNS (over UDP)
    tls://1dot1dot1dot1.cloudflare-dns.com - encrypted DNS-over-TLS
    https://cloudflare-dns.com/dns-query - encrypted DNS-over-HTTPS
    tcp://1.1.1.1 - regular DNS (over TCP)
    sdns://... - you can use DNS Stamps for DNSCrypt or DNS-over-HTTPS resolvers

  2. Optimistic DNS project lets all upstream DNS servers resolve domains at the same time and gets the fastest response time.

https://forums.developer.apple.com/thread/110429

@ameshkov ameshkov added this to the 3.1 milestone Feb 11, 2019
@ameshkov
Copy link
Member

Good news is that dnsproxy supports both, we just need to implement this in the UI.

@lancelot-moon
Copy link
Author

lancelot-moon commented Feb 13, 2019

It seems that you add the feature in v3.0.237η , right?

Screenshot:

image


About DNS upstreams, does AG app support the under syntax?
tcp://1.1.1.1 - regular DNS (over TCP)

May you give these examples in Android app?

1.1.1.1 - regular DNS (over UDP)
tls://1dot1dot1dot1.cloudflare-dns.com - encrypted DNS-over-TLS
https://cloudflare-dns.com/dns-query - encrypted DNS-over-HTTPS
tcp://1.1.1.1 - regular DNS (over TCP)
sdns://... - you can use DNS Stamps for DNSCrypt or DNS-over-HTTPS resolvers

I think the above descriptions are good!

@ameshkov
Copy link
Member

It seems that you add the feature in v3.0.237 nightly, right?

Yep, surprisingly:)

May you give these examples in Android app?

Unlike AG Home, there's not enough place for a large description. This might be explained in the knowledge base

@lancelot-moon
Copy link
Author

lancelot-moon commented Feb 13, 2019

About DNS upstreams, does AG app support the under syntax?
tcp://1.1.1.1 - regular DNS (over TCP)

AG app only marks 4 kinds of syntax (IP, sdns, https and tls).

Screenshot:

image


@ameshkov
Copy link
Member

tcp://1.1.1.1 - regular DNS (over TCP)

Well, it does, but we don't advertise it. Frankly, this is redundant as TCP will be used implicitly anyway when UDP is not available.

@lancelot-moon
Copy link
Author

lancelot-moon commented Feb 13, 2019

Excuse me.
How many of DNS upstreams can be added in the same field?
May you mark the upper limit in app?

2 DNS upstreams?
Or more than 5?

Thanks.

@ameshkov
Copy link
Member

Any number

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