hiddify / hiddify-app

Multi-platform auto-proxy client, supporting Sing-box, X-ray, TUIC, Hysteria, Reality, Trojan, SSH etc. It’s an open-source, secure and ad-free.
https://hiddify.com
Other
18.17k stars 1.62k forks source link

[FR] Dual DNS!!! single dns is old mistake + URL-TEST-ACTIVE instead Passive each 10 minutes #561

Open netsupcloud opened 9 months ago

netsupcloud commented 9 months ago

Feature description

1.1.1.1 or 8.8.8.8 (sometimes routed to local dns and manipulated) will fail to get ip some times but exactly that time 1.0.0.1 will resolve domain of inbound proxies

dual dns is a normal solution

but advanced solution is first dns + second dns as list [1.0.0.1,4.2.2.2,1.1.1.1,9.9.9.9,8.8.4.4,.....as default] (second dns randomly selected from list) that is editable and user can add even his own made dns server

checking dns can be parallel or consecutive (selectable) after fail of first one

also URL-TEST can be ACTIVE a ping or url-test can check continuously currently auto selected connection if timed out after 5 or any selectable seconds can recheck all proxies instantly instead each 10 minutes and after 10 (selectable) tries by 1 second (selectable) interval between them next check can be that 10 minutes.

thanks in advance

netsupcloud commented 9 months ago

its clear or hard to understand ?

netsupcloud commented 9 months ago

it can be two option in proxies list