
Every time you type a website address, your Mac quietly asks a DNS server to translate that name into an IP address. By default you use your internet provider’s DNS, which can be slow, unreliable, or log your browsing. The good news: macOS Sonoma lets you swap in a faster or more private DNS service in under a minute, and the same settings pane handles proxy configuration too. Here is how to change both.
Switching DNS is one of the highest-leverage tweaks for everyday browsing. Public resolvers like Google Public DNS and Cloudflare 1.1.1.1 are widely regarded as faster than most ISP defaults, and independent measurements covered by outlets like MacRumors routinely show meaningful latency differences.
How to change DNS servers in macOS Sonoma
- Open System Settings from the Apple menu and click Network in the sidebar.
- Select your active connection — Wi-Fi or Ethernet — then click the Details button next to it.
- In the window that opens, choose the DNS tab in the sidebar.
- Click the + button under DNS Servers and type the addresses you want, for example 8.8.8.8 and 8.8.4.4 (Google) or 1.1.1.1 (Cloudflare). If old grayed-out entries linger, select them and click – to remove them.
- Click OK to save. The change takes effect immediately — no restart needed.
That is all it takes. Pages should start resolving a touch faster, and with a privacy-focused resolver there are fewer eyes on your lookups. If you tether through your phone often, pair this with our guide on setting up an automatic hotspot connection from iPhone to Mac for a smoother on-the-go setup.
How to configure proxy settings
Proxies route your traffic through an intermediary — common on corporate or school networks. Sonoma keeps these controls in the very same dialog:
- Open System Settings, go to Network, select your connection, and click Details (same as above).
- This time choose the Proxies tab in the sidebar.
- Tick the protocol you need — typically Web Proxy (HTTP) and/or Secure Web Proxy (HTTPS).
- Enter the proxy address and port your network administrator gave you. If you were given a PAC file instead, select Automatic Proxy Configuration and paste the PAC URL.
- Click OK to apply.
Leave protocols you do not use unticked — enabling a proxy you do not need is the classic cause of mysterious no-internet moments. Apple’s support documentation walks through each proxy protocol if your IT department’s instructions use unfamiliar terms.
If it still doesn’t work
If websites will not load after a DNS change, first double-check for typos in the addresses — one wrong digit breaks everything. Try reverting to automatic DNS to confirm the custom servers are the issue, and flush the DNS cache via Terminal with dscacheutil -flushcache. For proxy trouble, verify the port number and confirm with your network admin whether authentication is required. As 9to5Mac has noted in networking guides, VPN apps can also override these settings silently — disconnect any VPN while testing.
While you are in System Settings, you might enjoy our guide on quickly opening the installed apps list — another small macOS time-saver.
Frequently asked questions
Which DNS should I use — Google or Cloudflare?
Both are fast and free. Cloudflare (1.1.1.1) markets itself on privacy with a public auditing commitment; Google (8.8.8.8) is the long-standing default many people trust. Try each for a day and keep whichever feels snappier on your connection.
Will changing DNS affect my other Apple devices?
No — this change applies only to the Mac (and only to the network connection you edited). Your iPhone keeps its own settings. A snappier Mac does make everything nicer, though — including video calls, so see how to enable face lighting during video calls on Mac.
Conclusion
DNS and proxy settings sound intimidating, but in macOS Sonoma they are just a few clicks away: System Settings, Network, Details, then the DNS or Proxies tab. Set a fast public DNS once, configure proxies only if your network demands them, and enjoy a slightly quicker, more private Mac.
