← back to home FR

Configure le_dns on macOS

Privacy-first DNS on your Mac in under 2 minutes

Your ISP sees every domain you look up. Switching to le_dns cuts that out — no filtering, no profiling, GDPR-compliant. Why does this matter?

GUI method (System Settings)

  1. Open System SettingsNetwork
  2. Click your active connection (Wi-Fi or Ethernet) → Details…
  3. Go to the DNS tab
  4. Click + and add the following DNS servers one by one:
    • 51.75.96.82
    • 51.89.95.33
    • 151.115.80.165
  5. Click OKApply

Terminal method

Replace Wi-Fi with your actual network interface name (e.g. Ethernet or USB 10/100/1000 LAN):

networksetup -setdnsservers Wi-Fi 51.75.96.82 51.89.95.33 151.115.80.165

To reset to DHCP-assigned DNS:

networksetup -setdnsservers Wi-Fi "Empty"

Encrypted DNS (DoH / DoT)

macOS does not expose DoH/DoT settings in the GUI directly. The recommended approach is a DNS configuration profile (.mobileconfig). You can generate one using a tool like dns.notjakob.com with the DoH URL https://ledns.eu/dns-query.

Alternatively, see the DoH setup guide for a system-level approach using dnscrypt-proxy.


Verify it works

In Terminal, run:

dig @51.75.96.82 example.com

You should receive a valid answer. For a full system-level check:

scutil --dns

Look for 51.75.96.82 in the DNS configuration output. For a leak test, visit dnsleaktest.com.

What's next?