@thelonelycoder and
@Xentrk, do you have any thoughts on what the Accept DNS Configuration setting should be with new DOT Merlin FW so they don’t interfere with Diversion? I know Disabled was recommended to work well with Stubby and Diversion. Also, adding the dhcp option IP in Custom configuration when using Strict profile was also recommended.
Any thoughts on what setting would be more appropriate so it doesn’t interfere with Diversion? Is using Exclusive another option now that Stubby is no longer installed separately?
Code:
DNS Behavior
“Accept DNS Configuration” set to “Exclusive”
When combined with Policy Rules based routing, all clients configured to use the VPN will use the DNS servers provided by the VPN tunnel. LAN Clients configured to go through the WAN will use the DNS configured in the WAN Settings Screen.
The disadvantage of setting “Accept DNS configuration” to “Exclusive” is that DNSMASQ will be bypassed since the VPN tunnel will exclusively use the DNS of the VPN Provider. The popular Diversion ad blocker program, written for the Asuswrt-Merlin firmware, will not work since Diversion requires the features of DNSMASQ. Diversion will work over the VPN tunnel when “Accept DNS configuration” is set to “Exclusive” and Policy Rules are disabled by setting “Redirect Internet Traffic” to “All”.
There are two options available if you want the OpenVPN client to use DNSMASQ when using Policy Rules. This is done by setting “Accept DNS Configuration” to either “Strict” or “Disabled”.
“Accept DNS Configuration” set to “Strict”
If you set Accept DNS Configuration to “Strict”, you must then specify the DNS server for the VPN tunnel to use by adding the dhcp-option DNS command in the Custom Configuration section per the example below.
dhcp-option DNS 1.1.1.1
“Accept DNS Configuration” set to “Disabled”
My preferred recommendation is to set “Accept DNS Configuration” to “Disabled” and install Stubby DNS over TLS. Stubby DNS over TLS will encrypt DNS queries for all devices on the network.
Accept DNS Configuration Definitions
For reference, the definition of the Accept DNS Configuration field values are as follows:
Disabled: DNS servers pushed by VPN provided DNS server are ignored.
Relaxed: DNS servers pushed by VPN provided DNS server are prepended to the current list of DNS servers, of which any can be used.
Strict: DNS servers pushed by the VPN provided DNS server are prepended to the current list of DNS servers, which are used in order. Existing DNS servers are only used if VPN provided ones don’t respond.
Exclusive: Only the pushed VPN provided DNS servers are used.
Sent from my iPhone using Tapatalk