SecDNS

Set up SecDNS on a Synology NAS or SRM router

Route every device on your Synology router or NAS through encrypted SecDNS DoH using DNS Server or Safe Access, in about fifteen minutes.

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

  1. Create a device in SecDNS. Sign in, open Devices and add a new Synology device. Copy the anycast IP and DoT hostname. [screenshot placeholder]
  2. 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.
  3. 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]
  4. 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.
  5. 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.
  6. Test from a client. From any LAN device run dig +short whoami.cloudflare TXT or 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.

Frequently asked questions

Should I use DNS Server on DSM or Safe Access on SRM?

Use Safe Access if you have a Synology router (RT2600ac, RT6600ax). Use DNS Server on a DSM NAS when you do not have a Synology router. They both forward to SecDNS but live on different products.

Does SRM support DoH?

SRM 1.3 includes a DoT client out of the box. DoH is not native; install dnscrypt-proxy via Entware or run AdGuard Home in a container for DoH support.

Will Safe Access keep working with SecDNS upstream?

Yes. Safe Access enforces its parental controls locally, then forwards everything else upstream. SecDNS receives the queries that pass through and adds threat filtering plus logging.

Can I run different SecDNS profiles per VLAN?

SRM supports multiple SSIDs and VLANs. Create one SecDNS device per VLAN, then use Safe Access profiles to direct each VLAN to a different SecDNS upstream.

What if I run DSM behind a non-Synology router?

Install DNS Server on DSM and configure your main router DHCP to advertise the NAS IP as the LAN DNS server. The NAS then forwards over DoT to SecDNS.