DNS not resolved via VPN when forced, in case of more than one policy per device

Comments

2 comments

  • Avatar
    Support

    Thanks for the feedback.

    The problem here is the DNS queries do not honor the country-based route rule. It is still a TODO item on our side. For a specific domain, it's hard to tell if it definitely belongs to a specific country. The same domain may have different servers around the world, so it may be ambiguous to tell if a domain is in a country.

    Currently, the country-based rules are purely based on IP, so the DNS queries before the actual IP traffic cannot be forwarded to different upstream DNS servers based on the country due to the ambiguity of a domain's country.

    0
    Comment actions Permalink
  • Avatar
    Yoav freiberger

    Thank you for the swift response. However, the problem is not that Firewalla does not categorize the website: dnsleaktest.com as being US or not. Instead, the problem is that it does not force the DNS queries for VPN tunnels set in routes to the DNS of  that  particular VPN tunnel. On the surface, you don’t see it because he get the correct IP, but DNS used or the DNS exposed is the one that is configured for all Internet traffic and not the one for the specific route being applied to the specific traffic in this case to DNSleaktest the site , or US the country. in the attached video. Example I configured a policy route that specifically sends all the traffic for dnsleaktest.com and the US in general to go through the US VPN tunnel. All other traffic goes according to the WAN DNS configuration, as both DOH and unbound are off, and there is no DNS setting for the subnet (Ie DNS is the gateway). I see the correct  US VPN IP when browsing dnsleaktest, but running the test exposes, my WAN ISP, dns. I realize this was happening before because I use VPN policy routing for my byoassing geo restrictions, and ran into being blocked by sites that were positively getting the right IP. The problem is that DNS traffic is not forced through VPN, except for when the policy is all Internet traffic. I provided more detail in a ticket about this, but it doesn’t been addressed. Watch the video to see how it happens and thanks againhttps://drive.google.com/file/d/1017PUp8Zk6JOd2qZi3tqYpbnzDFKe72O/view?usp=drivesdk 

    0
    Comment actions Permalink

Please sign in to leave a comment.