dnsdome
Setup guide · macOS

Set up dnsdome on macOS

Use dnsdome on a Mac. Plain DNS in System Settings for the current network, or a configuration profile for encrypted DNS-over-HTTPS or DNS-over-TLS that follows the Mac to any network.

Last updated 24 September 2026

Plain DNS in System Settings

Good for a desktop Mac that never leaves the network. The Mac is identified by the network's public IP, which must be on your profile's allowlist.

  1. In the panel, add your network's public IP to the profile's allowlist.
  2. Open System Settings → Network, select your active connection and click Details… (on macOS 12 and older, Advanced…).
  3. Open the DNS tab, remove the existing servers with the minus button, add 87.244.198.165 and click OK.
  4. Flush the cache and test in Terminal:
    sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
    dig doubleclick.net @87.244.198.165 +short

Encrypted DNS with a configuration profile (macOS 11+)

Since Big Sur, macOS accepts the same DNS Settings payload as iOS. A profile with a DNS-over-TLS or DNS-over-HTTPS server applies to every app on the Mac and keeps working on any network, because the token in the hostname identifies your dnsdome profile.

  1. Open your profile's Encrypted DNS card in the panel and copy the DoT hostname <token>.dns.dnsdome.com or the DoH URL https://dns.dnsdome.com/dns-query/<token>.
  2. Get a .mobileconfig: open a ticket from the panel's Help page and we send a signed one for your profile, or build your own in Apple Configurator with a DNS Settings payload (protocol TLS or HTTPS, server name or URL as above, server address 87.244.198.165).
  3. Double-click the file, then go to System Settings → Privacy & Security → Profiles and click Install.
  4. Check the log in the panel: queries from the Mac appear within a minute, tagged with the profile or device the token belongs to.

A DNS profile is not a VPN. It changes only where the system resolver sends queries and adds no background process.

Good to know

Does this cover other Macs and Apple TVs at home?
Only if you set it on each one. Set DNS on the router instead and every device on the network, including Apple TV and HomePod, is covered at once.
Can I use the Terminal to set plain DNS?
Yes: networksetup -setdnsservers Wi-Fi 87.244.198.165, and networksetup -setdnsservers Wi-Fi Empty to revert.

Put a dome over your network.

Free plan, no card. Create a profile, point your DNS, and watch the first blocked queries within minutes.