egc DD-WRT Guru
Joined: 18 Mar 2014 Posts: 12884 Location: Netherlands
|
Posted: Sun Mar 19, 2023 9:04 Post subject: |
|
The option DNS servers via tunnel will let you set one or more DNS servers in a comma delimited list.
The specified DNS servers are used by DNSMasq for the whole router and the queries via these specified server(s) are always routed via the VPN tunnel.
So all attached clients will use these DNS server(s) via the VPN tunnel.
If you are using Policy Based routing and you do not want that all clients are using these DNS servers via tunnel then you can use Split DNS and leave this field empty.
Split DNS
When you are using PBR you might also want to route DNS queries accordingly e.g. you split DNS.
Often necessary for websites which not only track your IP address but also your DNS address e.g. Netflix, Amazon, your bank etc.
The field where you can enter the DNS server(s) will appear if you enable Split DNS.
Source routing
In case you have chosen Route selected sources via VPN meaning the sources from the PBR field are routed via the tunnel and other sources via the WAN, the PBR sources will use the DNS address from the IPv4 DNS server field(and if you use IPV6 the IPv6 DNS server)
Make sure that the DNS server(s) you have chosen is different from the ones used elsewhere e.g. in Static DNS 1,2,3!.
If you use Split DNS then leave the field DNS servers via tunnel empty as it is non-functional when Split DNS is set .
All other sources will use the regular DNS servers from Static DNS 1,2,3 on Setup page. _________________ Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087 |
|