Asus (Asuswrt-Merlin)
Asuswrt-Merlin and recent stock Asus firmware can forward the DNS queries of the router over TLS. The router connects to the address that you give. It sends the host name as the TLS server name, and this name selects your profile.
Before you start, get your profile id and choose a device name for the
router (for example, asus). The server addresses are the
shared addresses of opdns.
-
Open WAN → Internet Connection → WAN DNS Setting. Set Connect to DNS Server automatically to No. Keep the two DNS server fields empty. If you fill them, the servers of your provider stay in use next to opdns.
-
Set DNS Privacy Protocol to DNS-over-TLS (DoT) and DNS-over-TLS Profile to Strict.
-
Under DNS-over-TLS Server List, delete the presets and add one server:
Field Value Address 23.166.164.53TLS Port 853TLS Hostname <device>-<profile-id>.dns.opdns.netClick Add. Add a second server in the same way with the address
23.166.164.35. The router then has a second server to try. Click Apply. -
Make sure that LAN clients use the router. In LAN → DHCP Server, keep DNS Server 1 and DNS Server 2 empty. The router then hands out its own address.
-
Optional: if you want to catch devices that hard-code a different DNS server, enable LAN → DNSDirector with the global mode Router. Older Merlin releases call it DNSFilter.
-
From a LAN device, check that it works. Its queries appear under the device name of the router.
Limits
Section titled “Limits”- The whole network has one device name. The router makes the queries, so every LAN device appears under the name of the router. If you want a name for each device, also set up encrypted DNS on each device.
- Strict means that there is no fallback. If opdns is unreachable, name resolution on the network stops. It stays stopped until you set DNS-over-TLS Profile to Opportunistic or change the server.
- Recent stock Asus firmware has the same WAN DNS settings. Older stock releases do not have the DoT server list. For those releases, use the DHCP guide instead.