AdguardTeam / VpnLibs

Open bug tracker for AdGuard VPN core library
6 stars 0 forks source link

Exclusions should be resolved using the system DNS server #27

Closed ameshkov closed 8 months ago

ameshkov commented 2 years ago

The problem is that we now use the VPN's DNS server, but we shouldn't do that for exclusions.

ngorskikh commented 2 years ago

Note: this should work backwards in selective mode: exclusions must be resolved with a trustworthy resolver through the VPN endpoint. Case in point: in selective mode the domains which should be accessed through the VPN might get resolved to some "blocking" IP address by the system resolver.

ameshkov commented 2 years ago

Right, good point