SecDNS

Set up SecDNS on macOS with a signed configuration profile

Install a signed mobileconfig that switches your Mac to encrypted SecDNS DoH in minutes, protecting every browser and app system-wide.

Set up SecDNS on macOS

macOS gained native DNS-over-HTTPS support in macOS 11 Big Sur via signed configuration profiles. The mobileconfig that SecDNS issues installs in a couple of minutes and protects every browser and app on the system.

What you will need

  • A SecDNS account
  • A Mac running macOS 11 Big Sur or newer
  • Admin permissions on the Mac
  • Safari (signed profiles install most reliably from Safari)

Setup steps

  1. Create a device in SecDNS. Sign in, open Devices and add a new macOS device. Copy the device id; the mobileconfig URL is /api/dns/mobileconfig?profile=<id>. [screenshot placeholder]
  2. Download the signed mobileconfig. From the device detail page click Download mobileconfig. Safari saves the file to your Downloads folder.
  3. Open the profile from Downloads. Open Finder, double click the file and confirm the prompt to review the profile in System Settings.
  4. Install the profile. In System Settings open Privacy and Security, then Profiles. Double click the SecDNS profile, click Install and authenticate with your admin password. [screenshot placeholder]
  5. Confirm the profile is active. System Settings should now list the SecDNS profile with a green check. macOS switches to DoH immediately for every interface.
  6. Test resolution. Open Safari and visit https://dns.google. The reported resolver should resolve to dns.secdns.io.

Verify it works

From a Terminal window run scutil --dns | grep nameserver and confirm at least one entry points to the SecDNS DoH resolver. You can also visit https://dnscheck.tools, which shows the resolver hostname and ASN. Back in the dashboard the device Live Logs view should start filling within seconds.

Troubleshooting

  • System Settings reports an invalid signature. Re-download the mobileconfig from Safari. macOS rejects profiles downloaded by some third party browsers because they strip the signature.
  • Profile installs but DoH appears inactive. Open System Settings, Network, click the i icon next to your interface, then Details, DNS. The configured DNS servers should be greyed out because the profile overrides them.
  • A VPN takes over DNS. Most enterprise VPNs push their own resolver while connected. Disconnect the VPN to confirm SecDNS is working, then coordinate with IT for a split-DNS configuration.
  • Captive portals will not load. macOS detects portals before DoH engages, but some hotel networks are tricky. Temporarily disable the profile in System Settings, sign in, and re-enable it.

Notes

The DoH endpoint embedded in the profile is https://dns.secdns.io/dns-query/<device-id>. If you ever rotate the endpoint, regenerate the mobileconfig from the dashboard and macOS will replace the existing profile cleanly.

Frequently asked questions

Does the profile use DoH or DoT?

The signed mobileconfig uses DNS-over-HTTPS by default. You can request a DoT variant from the device detail page if your environment prefers DoT.

Will this work on macOS Big Sur and Monterey?

Yes. Native DoH support arrived in macOS 11 Big Sur, so any release from Big Sur onwards installs the profile without extra software.

What happens when I join a new Wi-Fi network?

The DNS profile is system-wide and applies on every network you join, including Wi-Fi, Ethernet and tethered iPhone connections.

Does the profile interfere with my company VPN?

VPN clients usually push their own DNS while connected, which takes precedence. If you need SecDNS even on the VPN, coordinate with IT to add the SecDNS DoH endpoint to the VPN profile.

How do I remove the profile?

Open System Settings, Privacy and Security, Profiles, select the SecDNS profile and click the minus button. macOS returns to DHCP DNS immediately.