Persistent cache
MacDNS saves DNS answers in a cache that survives restarts. When on, Prefetch renews answers you used recently shortly before they expire, so later lookups can reuse the cache.
Product features
Let DNS providers compete, refine cached answers, and block unwanted domains. Give local projects their own names and send private domains to your own DNS server.
macOS 14+Intel + Apple silicon21 days, no card
Encrypted DNS providers
A slow provider does not have to hold up your DNS lookup. Enable Cloudflare, Google, and Quad9 individually or together, then choose how they are queried. Public lookups reach these providers over DNS over HTTPS (DoH), which encrypts them on the way.
Parallel. Start queries to all enabled providers together. The first answer that finds the site returns without waiting for the others.
Staggered. Start with the provider that has the fastest recent average response time (latency). The others start after short, adaptive delays, without waiting for the first provider to time out.
Sequential. Try one provider at a time, moving to the next if it does not find the site within its time limit. This mode does not compare answers in the background.

Adaptive dispatch
Staggered mode learns from recent DNS response times. It gives the fastest-ranked provider a head start while allowing others to join the lookup soon after. You choose the mode. MacDNS calculates the delays.
If the fastest provider averages 40 ms, the three ranked providers are scheduled at 0, 20, and 40 ms. These are dispatch delays, not promised response times.
The delay is half the fastest provider’s recent average latency multiplied by rank, bounded to 10–150 ms for additional providers. When any enabled provider has no latency history, all start together.
Pending queries can continue briefly after the first answer to collect results. Staggered mode does not guarantee that only one provider receives the query.
Answer Refinement
The quickest DNS reply does not always point to the quickest destination. In parallel and staggered modes, MacDNS returns the first answer that finds the site, then compares the IP addresses returned by different providers in the background. A refined answer can replace the cached result for later lookups.
If two or more providers return the same non-empty set of IP addresses, MacDNS can save that agreed answer (consensus) in the cache. When they don’t agree and Answer Refinement is on, MacDNS pings the public addresses in the answers (ICMP latency probes) to compare them.
It keeps the provider answer whose address replied fastest. Private and reserved addresses are never pinged. If the pings fail or run out of time, it falls back to the first candidate answer.
The first reply does not wait for refinement. A refined answer keeps the original entry’s expiry time. A faster ping helps MacDNS choose. It does not guarantee faster page loads and says nothing about whether a site is safe.
Split DNS
A forward zone is a domain, such as corp.example, that MacDNS sends to a DNS server you choose instead of the public providers. Set one up for your home lab or work network. MacDNS also uses the private routes your current network provides. It keeps names that only make sense on a private network, and .onion names, away from public providers, including during background refreshes.

Local records
Give local projects their own domain names without editing /etc/hosts, the system hosts file. Set exact names, short names such as nas, or wildcards (one rule for the names under a domain) in MacDNS, using A and AAAA (IPv4 and IPv6 address), CNAME (alias), MX (mail server), TXT (text), PTR (reverse lookup), and NS (name server) records. MacDNS answers matching lookups itself.

Exceptions
If a blocklist stops a domain you need, add an allowlist exception. You can turn exceptions on or off without deleting them. An exception only lifts the block. Your local records and private domain rules still apply.

Local filtering
Choose separate blocking levels for ads, trackers, known threats, and other unwanted domains. Blocking depends on the lists you select. MacDNS stores the lists on your Mac and keeps the previous working data if an update is empty or broken.
Available levels by category
Ads, trackers, and apps reporting how you use them
Malware, scams, and known security threats
Adult and pornographic sites
Gambling and betting domains
Facebook, Instagram, TikTok, X, and Snapchat
Pop-ups, link shorteners, and services apps use to skip your DNS settings
Disabled turns a category off, and some categories offer only Disabled and Enabled. Higher levels block more domains and are more likely to block something you need. The lists come from outside projects and can change with each update.

Local visibility
MacDNS keeps a history of the DNS lookups your Mac makes: the name, its record type, the result, what answered it, and how long it took. Queries turns that history into a chart, top hosts, and a searchable log. The history is on by default and stays on your Mac.

Local visibility
Find which domain was blocked, check its category, and add an exception when needed.

Runtime behavior
Move between Wi-Fi networks, connect a VPN, or wake your Mac. MacDNS notices these changes and the sign-in pages on hotel, airport, and café Wi-Fi (captive portals). It reconnects to your DNS providers and updates its protection status.

MacDNS saves DNS answers in a cache that survives restarts. When on, Prefetch renews answers you used recently shortly before they expire, so later lookups can reuse the cache.
When on, Serve Expired can return an expired (stale) answer from the cache if no fresh answer arrives within one second, while MacDNS keeps looking up a fresh one in the background. It can also stand in when the DNS providers fail.
MacDNS limits and checks its connections to the DNS providers and rebuilds them after network changes, so connections from an old network do not linger.
The menu shows protection as active only after MacDNS confirms that your Mac’s DNS lookups reach it.
After an update, MacDNS detects an old copy of its DNS extension (the macOS system extension that hands lookups to MacDNS) and either replaces it or tells you a restart is required.
MacDNS’s parts check each other’s signature before they work together. If a check fails, MacDNS stops handling DNS, your Mac uses its normal DNS, and the app shows that protection is not active.
When a network needs you to sign in, MacDNS lets that network’s DNS server answer while blocklists stay on. If the sign-in page still won’t load, you can allow a full bypass for that network for up to 15 minutes.
Some networks, such as an iPhone hotspot, reach IPv4-only sites through NAT64. MacDNS detects this and creates the IPv6 addresses those sites need (DNS64), as the network’s own DNS server would.
If a site won’t load, Clear DNS Cache in the menu bar or the Settings overview forgets the answers MacDNS saved and reconnects to your DNS providers.
Free trial
21 days with no payment details required.