Set up SecDNS on a Synology NAS or SRM router
Synology offers two DNS paths: the DNS Server package on DSM for NAS owners, and Safe Access on SRM 1.3+ for the RT2600ac and RT6600ax routers. Both can forward upstream to SecDNS over DoT, and the whole setup takes about fifteen minutes.
What you will need
- A SecDNS account
- A Synology NAS running DSM 7.2+ or a Synology router running SRM 1.3+
- Admin access to DSM or SRM
- The SecDNS anycast resolver IP and the DoT hostname
dns.secdns.io
Setup steps
- Create a device in SecDNS. Sign in, open Devices and add a new Synology device. Copy the anycast IP and DoT hostname. [screenshot placeholder]
- Install DNS Server or open Safe Access. On DSM open Package Center and install DNS Server. On SRM open Safe Access from the main menu. Both ship a recursive resolver you can re-point upstream.
- Configure forwarders. In DNS Server open Resolution and tick Enable forwarders. In Safe Access open Settings, DNS Server, choose Manual, and enter the SecDNS anycast IP. [screenshot placeholder]
- Enable DoT or DoH. In SRM 1.3+ toggle Encrypted DNS on, pick DoT and enter
dns.secdns.io. On DSM use the dnscrypt-proxy package from SynoCommunity if you need DoH; otherwise plain UDP to the SecDNS anycast IP works. - Point clients at the NAS or router. SRM advertises itself via DHCP automatically. On DSM open your existing router and set the LAN DHCP DNS server to the NAS IP.
- Test from a client. From any LAN device run
dig +short whoami.cloudflare TXTor visit https://dnscheck.tools. The resolver hostname should match SecDNS infrastructure.
Verify it works
On SRM go to Safe Access, Overview and confirm Threat Intelligence shows traffic flowing. On DSM open DNS Server, Resolution Log and confirm queries are being answered. From a LAN client https://dnscheck.tools should report SecDNS as the upstream. The SecDNS dashboard Live Logs panel fills within seconds.
Troubleshooting
- Safe Access does not show Encrypted DNS option. Upgrade SRM to 1.3.1 or newer; earlier releases only support plain UDP forwarders.
- Clients still use ISP DNS. Reboot clients to force a DHCP lease renewal. Confirm the LAN DHCP server hands out the Synology IP as primary DNS, not the upstream router.
- DNS Server fails to start on DSM. Port 53 may be bound to another container (Pi-hole or AdGuard Home). Stop the conflicting container or change its host port mapping.
- Captive portals refuse to load. Temporarily switch DNS back to Auto, sign in, then re-enable SecDNS forwarding.
Notes
If you also use Synology Photos or Drive externally, make sure SecDNS does not block QuickConnect (*.quickconnect.to). Add it to the SecDNS allowlist if the default policy blocks dynamic DNS providers.