amnezia-vpn / amnezia-client

Amnezia VPN Client (Desktop+Mobile)
https://amnezia.org
GNU General Public License v3.0
4.14k stars 275 forks source link

Incorrect Domain to IP resolving while add split-tunnel site #927

Open annndruha opened 1 month ago

annndruha commented 1 month ago

When add new site by domain to split-tunnel sites list, assigned ip is wrong.

Upper: Actual chatgpt.com address Lower: Address from some Russian provider image There are same behavior if just ping from different locations. Some countries have different address in DNS records, like Chinese google.com

So if you need to add blocked site (or site with substituted IP), AmneziaVPN will add blocked address to sites-list.

I think it's two ways to fix:

AmneziaVPN Windows 11 Client: 4.6.0.3 (Jul 8 2024, 3f90ee91)

tiaga commented 3 weeks ago

Hello,

As you can see the domain name is resolving to different addresses depending on a country (for example China or Russia): https://dnschecker.org/#A/chatgpt.com. So, it's a good question how to do it correctly.

However, you can enable a connection, check the domain name IP addresses and that resource to the list by IP.