-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Feature request: test TCP connection speed and return the fastest IP #715
Comments
@ameshkov Any suggestion? |
@Zxilly I got the idea, thank you! Marked as a feature request, let's see how many people vote for it. Meanwhile, do you have any examples of the software that actually does it? |
@ameshkov |
What I am interested in is how exactly do they check if IP is available. Do they send ICMP (ping) the address, or do they actually try to connect to ports 80 or 443? |
@ameshkov |
|
Well, let's see how many upvotes does this feature request collect. It is doable, but it is not easy of course. |
The Project "SmartDNS" 's document in English |
Sometimes, I use parallel queries, it return an IP address that have no access to it . Cause we use Chinese public DNS... Maybe you could according the GEOIP to judge which DNS Server we could use , Or give us a choice . thx |
I also requested to increase the DNS resolution to return the fastest ip to the user, otherwise this will cause the page to open very slowly. |
there are some downloads use muti cdn to speedup download,block slower ip may have bad influence,if you want to use,maybe you can set smartdns as the only upstream of AdGuardHome |
SmartDNS is finally open source, can you refer to its source code? I think this will be helpful for this project. |
@QiuSimons thank you, we'll take a look! |
Is smartdns functionality going to be release in 0.102? |
Yes |
This is a huge improvement, thanks a lot. Having as well advanced settings for the cache avaialable in the interface would be nice. |
* API: /dns_info, /dns_config: add "parallel_requests" instead of "all_servers" from /set_upstreams_config * API: /status: removed fields #715 Squashed commit of the following: commit 7dd913b Merge: 4370697 8170955 Author: Simon Zolin <s.zolin@adguard.com> Date: Wed Apr 22 19:09:36 2020 +0300 Merge remote-tracking branch 'origin/master' into 715-fastest-addr commit 4370697 Author: Simon Zolin <s.zolin@adguard.com> Date: Wed Apr 22 19:08:55 2020 +0300 minor commit 9e713df Merge: e3bf403 9b7c118 Author: Simon Zolin <s.zolin@adguard.com> Date: Tue Apr 21 16:02:03 2020 +0300 Merge remote-tracking branch 'origin/master' into 715-fastest-addr commit e3bf403 Author: Simon Zolin <s.zolin@adguard.com> Date: Tue Apr 21 15:40:49 2020 +0300 minor commit d6e6a82 Author: Simon Zolin <s.zolin@adguard.com> Date: Fri Apr 17 17:56:24 2020 +0300 * API changes . removed POST /set_upstreams_config . removed fields from GET /status: bootstrap_dns, upstream_dns, all_servers . added new fields to /dns_config and /dns_info commit 237a452 Author: Simon Zolin <s.zolin@adguard.com> Date: Fri Apr 17 16:43:13 2020 +0300 * API: /dns_info, /dns_config: add "parallel_requests" instead of "all_servers" from /set_upstreams_config commit 9976723 Author: Simon Zolin <s.zolin@adguard.com> Date: Mon Mar 23 10:28:25 2020 +0300 openapi commit 6f8ea16 Merge: 36e4d4e c8285c4 Author: Simon Zolin <s.zolin@adguard.com> Date: Fri Mar 20 19:18:48 2020 +0300 Merge remote-tracking branch 'origin/master' into 715-fastest-addr commit 36e4d4e Author: Simon Zolin <s.zolin@adguard.com> Date: Fri Mar 20 18:13:43 2020 +0300 + DNS: add fastest_addr setting
Any benefit in using this outside of China? |
@sassansh regardless of your location, it can improve connection quality and make it more reliable as it will make sure that the IP addresses are really reachable from your location. Just don't use it with too many resolvers, 2-3 max. |
@ameshkov cool! can it be used with just 1 resolver? |
@sassansh sure, but in this case, it will simply filter out unreachable/slow IPs from domains with multiple IPs (different CDNs and such). |
@ameshkov so is it best to use 2-3 resolvers when using this feature? |
Scratching my head for a while before realizing the options "Fastest IP address" and "Parallel requests" are mutual exclusive :-( Why not changing them to radio? |
Yeah, we'll make it clear in the next update:) |
When upstream return a DNS resolved answer,could AdGuard try to connect all the ip and give the client the IP fastest?
This is because in China the “clean” always means slow.
The text was updated successfully, but these errors were encountered: