Let DNS providers compete
MacDNS asks Cloudflare, Google, and Quad9 at once or milliseconds apart, and uses the first answer that finds the site. One slow provider does not have to hold up the lookup.
DNS filtering and routing for macOS
Block domains used by ads, trackers, and known threats with local blocklists. Choose which DNS providers handle your public lookups over encrypted connections.
Thanks for buying MacDNS.
Check your email for your license.
The same email includes your receipt. It can take a few minutes to arrive.
Try all features free for 21 days. No card required.
macOS 14+Intel + Apple silicon
DNS filtering happens on your Mac. Our servers do not receive your DNS queries. The app has no usage analytics. How we handle your data




What it controls
DNS is how your Mac finds the address of each website and app it connects to. MacDNS checks these lookups against your blocking rules. You can also name devices on your own network and send work or home-lab names to the DNS server that knows them.
MacDNS asks Cloudflare, Google, and Quad9 at once or milliseconds apart, and uses the first answer that finds the site. One slow provider does not have to hold up the lookup.
Adjust blocking for ads and trackers, known threats, adult content, gambling, social media, and miscellaneous domains. Each category has its own setting.
Send work or home-lab names to your own DNS server. Other names go to the providers you selected.
MacDNS remembers recent DNS answers, even after a restart, so a site you revisit can skip the lookup. Prefetch renews answers you used recently shortly before they expire. Serve Expired can reuse an older answer when the providers are slow or can’t be reached.
Guards against a trick where a website uses DNS to make your browser reach devices on your home or office network, such as your router. MacDNS removes those private addresses from public answers. Your own forward zones and local records can still use them.
See whether protection is on, whether MacDNS is still starting, or whether you need to restart. The status comes from the running components.
Multiple DNS providers
A slow DNS lookup can delay opening a site or connecting an app. With multiple providers enabled, MacDNS can ask them at the same time or start them milliseconds apart, then use the first answer that finds the site.
Compare the query modesAnswer Refinement
DNS providers can return different server addresses for the same name. MacDNS compares their answers in the background. When they disagree and Answer Refinement is on, MacDNS pings the addresses and keeps the one that replies fastest for later lookups. The first reply does not wait for these checks.
How answer refinement worksMajor release
Choose your providers, keep DNS answers across restarts, and check that protection is active. Version 2 adds these controls and no longer runs a separate DNS program.
Read the full release notesMacDNS now does its DNS work itself. Version 1 ran a separate DNS program.
Turn on Cloudflare, Google, or Quad9 and choose whether MacDNS asks them all at once (Parallel), milliseconds apart (Staggered), or one at a time (Sequential).
Saved DNS answers survive restarts. Prefetch renews answers you used recently shortly before they expire. Serve Expired can reuse an older answer when a fresh one is slow or unavailable.
MacDNS shows Protection Active only after it confirms that your Mac’s DNS lookups reach MacDNS.
Request handling
Your rules determine whether MacDNS blocks a domain, answers locally, or asks a DNS server. Public lookups use your selected encrypted providers.
A macOS system extension hands DNS lookups from your Mac to MacDNS.
MacDNS checks your local records, blocklists, and allowlist exceptions. Routes for private names, yours or your network’s, take priority over public providers.
MacDNS reuses a saved answer or asks your selected providers over an encrypted connection, using the Dispatch mode you chose.
Rebinding protection removes private network addresses from public answers. MacDNS keeps the DNSSEC signatures apps asked for and saves answers it can reuse.
Public source code
MacDNS handles every DNS lookup on your computer, so the source code is public on GitHub. You can inspect how it works, review it for security, suggest features, or star the project.
Read how MacDNS handles DNS lookups, applies blocklists, routes private domains, and connects to your selected providers.
Open an issue on GitHub to request a feature, report a problem, or follow what is changing.
Star MacDNS on GitHub to follow new releases and help other Mac users discover the project.
Free trial
Every feature included. No account or card required. For macOS 14 or later.