Change the DNS on your Mac
Applies to: Macs running macOS Ventura 13, Sonoma 14, Sequoia 15, Tahoe 26 or later
Short answer: On macOS 13 and later you set DNS under Apple menu > System Settings > Network > your network service > Details > DNS [1][2]. Before you start, have your Smart DNS provider register your IP, because the service keys on your public address, and remember DNS is stored per network service: Wi-Fi and Ethernet each carry their own list.
This guide is for a Mac on macOS Ventura 13 or later (the years where the Apple menu opens System Settings). It covers both Wi-Fi and wired (Ethernet or USB adapter) connections. If your Apple menu opens System Preferences instead, use the macOS 12 and earlier guide. Smart DNS is a routing change for the DNS lookups your Mac performs - the addresses belong to a provider you have an account with, and the provider needs your current IP address registered before anything loads differently.
This guide is for a Mac on macOS Ventura 13 or later (the years where the Apple menu opens System Settings). It covers both Wi-Fi and wired (Ethernet or USB adapter) connections. If your Apple menu opens System Preferences instead, use the macOS 12 and earlier guide. Smart DNS is a routing change for the DNS lookups your Mac performs - the addresses belong to a provider you have an account with, and the provider needs your current IP address registered before anything loads differently.
Before you start
- Write down the two (or more) DNS server addresses from your Smart DNS provider. The
/providers/ comparison lists which standalone services include them, and /best/standalone/ ranks them.
- Register your current IP address with the provider (most accounts do this when you log in).
Unlocator's macOS guide, for example, finishes with logging back into the account so the DNS check completes with a green checkmark.
- IPv6: if your network hands out IPv6 and your provider only covers IPv4, macOS may prefer
the IPv6 path and bypass your change. Enter the provider's IPv6 addresses in the same list if they publish them.
- iCloud Private Relay (iCloud+ subscribers): Apple documents that when Private Relay handles
your Safari browsing, your DNS records are encrypted through its relays. The practical effect is reported to be that Safari does not use the addresses you typed in. Test with another browser while Private Relay is on.
Which version do I have?
Look at the Apple menu in the top left of your screen. If it lists System Settings, you are on macOS 13 Ventura or later and this is the right guide. If it lists System Preferences, you are on macOS 12 Monterey or earlier and should use the earlier guide. Both menu names come straight from Apple's own guide text for each generation. Apple's Mac User Guide version selector also lists the generation names in order (macOS 27 Golden Gate, macOS Tahoe 26, macOS Sequoia 15, macOS Sonoma 14, macOS Ventura 13, macOS Monterey 12, macOS Big Sur 11.0, macOS Catalina 10.15), so the name your Mac shows under the version number maps directly to one of the two guides.
Steps
Step 1: Open Network settings
Menu path: Apple menu > System Settings > Network
Click the Apple menu at the top left and choose System Settings, then click Network in the sidebar. (You may need to scroll the sidebar to find it.)
You should now see: a list of your network services on the right - Wi-Fi, Ethernet, Thunderbolt Bridge, and any USB adapters - each with a status dot next to it.
If it doesn't work: if Network is missing from the sidebar, System Settings is being filtered (some managed Macs hide panes) - the correct pane exists but is restricted by your administrator, and no amount of clicking elsewhere will reveal it.
Step 2: Select the network service you actually use
Menu path: System Settings > Network > [Wi-Fi or Ethernet]
Click the service your Mac is currently using. Bitdefender's macOS guide puts it plainly: select the connection you are connected to. Unlocator's guide makes the same point - Wi-Fi or Ethernet, whichever method you use to connect to the internet.
You should now see: the service row highlighted, with a Details button.
If it doesn't work: if your Mac is connected through a USB Ethernet adapter or a dock, that adapter appears as its own service - configure that one, not Wi-Fi.
Step 3: Open the DNS tab of the service details
Menu path: Network > [service] > Details > DNS
Click Details, then click DNS in the tabs along the top. Apple's guide for the hand-written path is exactly this: click the network service, click Details, click DNS [1][2]. (You may need to scroll the tab row if the window is small.)
You should now see: two lists - DNS Servers and Search Domains - with plus and minus buttons.
If it doesn't work: if Details is greyed out or the DNS list is locked, the Mac is managed by an MDM profile that owns the network settings; contact your administrator instead of forcing it.
Step 4: Add the Smart DNS servers
Menu path: Details > DNS > DNS Servers > + button
Click the add (+) button at the bottom of the DNS Servers list and type the first provider address, then repeat for the second address. Apple documents the list as accepting an IPv4 or IPv6 address for each entry. Order matters: macOS tries the servers in the order listed.
You should now see: your provider's addresses in the list above any existing entries.
If it doesn't work: if you typed a hostname instead of an address, the field rejects it - DNS server entries are IP addresses only, not URLs.
Step 5: Remove or demote the old servers (recommended)
Menu path: Details > DNS > DNS Servers > select entry > - button
Select each old ISP or router DNS entry and click the remove (-) button, or drag it below your provider's entries. Smart DNS providers instruct removing other DNS entries so a faster non-provider resolver cannot answer lookups first; Smart DNS Proxy's macOS guide states that only provider IPs should remain. If you want a rollback path later, screenshot the list first.
You should now see: only your provider's addresses (or theirs above the originals).
If it doesn't work: on office or campus networks the removed server may come back - a profile or the router is re-supplying it, and on managed networks you should leave the list alone.
Step 6: Save with OK and reconnect
Menu path: Details > DNS > OK then Network > [service] > reconnect
Click OK to close the details window. Apple's older guide wording confirms the same list closes with OK in current macOS. If your Wi-Fi was toggled in between, let it reconnect.
You should now see: the details window close and the service reconnect without a password prompt.
If it doesn't work: if the whole network loses connectivity after saving, re-open the DNS tab and re-add the original servers - a typo in the address is the usual cause.
Verify it works
Open a streaming service or video app you could not reach before, then check the provider's account page: Unlocator and Smart DNS Proxy both show a DNS-check state that flips once your registered IP resolves through their servers. Two useful checks:
- A streaming app that previously showed a region or error page now loads.
- The provider's account/dashboard page shows your IP as registered (and the DNS check green).
If Safari specifically still routes differently, remember the Private Relay note from Before you start: Apple documents its DNS encryption for Safari traffic, and reported behavior is that the manual list is bypassed for Safari while Private Relay is on [3].
Undo this change
Return to System Settings > Network > [service] > Details > DNS, delete your provider's addresses, and either re-enter the original servers or clear the manual list so the network supplies DNS again. Save with OK. Apple documents both the add and remove buttons on the same DNS Servers list, so undo is the mirror of Step 4.
Common errors on this device
- Safari can't find the server - Safari
cannot resolve or reach the site; custom DNS and proxies are among the causes Apple names.
- server DNS address could not be found
- Chrome's resolver failure page, often after a typo in a DNS entry or a stale cache.
- Wi-Fi connected but no internet - the
Wi-Fi Recommendations alert macOS raises when a joined network cannot get online.
FAQ
Where does macOS 13 and later store DNS servers?
Per network service, under Apple menu > System Settings > Network > the service (Wi-Fi or Ethernet) > Details > DNS. Apple documents exactly this path in the current Mac User Guide, and the DNS Servers list accepts both IPv4 and IPv6 addresses.
Does one DNS entry cover Wi-Fi and Ethernet?
No. Apple's guide tells you to click a network service and configure its Details separately, so a Mac that sometimes connects by Ethernet needs the DNS servers entered for the Ethernet service too.
Why does my Smart DNS provider need my IP address?
Smart DNS keys the service to your public IP address rather than to your account. Provider documentation such as Unlocator's macOS guide ends with logging back into the account so the DNS check can complete against your address.
Do I have to delete the ISP DNS servers the network gave me?
Apple documents adding servers to the DNS Servers list; entries handed out by the network stay until you remove them. Smart DNS guides such as Smart DNS Proxy's macOS setup instruct removing other DNS entries because a second resolver can answer some lookups first.
Does iCloud Private Relay override the DNS servers I enter?
Apple documents that Private Relay encrypts your DNS records when it handles Safari browsing, so the practical effect of your manual list on Safari traffic can differ from other apps. Reported behavior is that the manual list is not what Safari uses while Private Relay is on; test outside Safari as well.
Need a provider first? The comparison table has the live values:
Sources
- Apple - Change DNS settings on Mac (current macOS user guide) - accessed 2026-11-23
- Apple - Enter DNS and search domain settings on Mac - accessed 2026-11-23
- Apple - About iCloud Private Relay - accessed 2026-11-23
- Bitdefender Support - How to Change Your Mac's DNS Server - accessed 2026-11-23
- Unlocator Support - How to set up DNS on macOS - accessed 2026-11-23
- Apple - If Safari doesn't work as expected on Mac - accessed 2026-11-23