Policy Based VPN Routing and DNS

1 post / 0 new
jamesr
jamesr's picture
Policy Based VPN Routing and DNS

Hi,

Tomato V3.5 - 140 AIO

When using policy based routing for VPN, I can get selective VPN to work for different IPs, but the way the DNS works is breaking my attempts to connect to Netflix.

If i reroute all traffic via VPN, DNS IP is the exit IP of the VPN (great, perfect).

For policy based VPN (with 'accept DNS configuration' set to strict or exclusive), and route-noexec set, the DNS is resolving to the IP of the VPN provider, but this can localise to any country (normally germany for some reason) .

How can i force the DNS to the exit IP of the VPN when using policy based routing?

 

Cheers for any suggestions