Skip to main content

Configure DNS on macOS

Complete guide to change DNS servers on macOS. Works on all versions from macOS Monterey to the latest, including macOS Ventura and Sonoma.

1

Open System Preferences

Click the Apple menu and select "System Preferences" (or "System Settings" on macOS Ventura+).

Screenshot: Open System Preferences
2

Access Network

Click "Network" and select your active connection (WiFi or Ethernet) from the left list.

Screenshot: Access Network
3

Advanced Settings

Click "Advanced..." in the bottom right of the window.

Screenshot: Advanced Settings
4

Configure DNS Servers

Go to the "DNS" tab, click "+" and add: 1.1.1.1, 8.8.8.8. Click "OK" then "Apply".

Screenshot: Configure DNS Servers

Additional Tips

  • On macOS Ventura+, go to System Settings > Network > WiFi > Details > DNS
  • Run "sudo dscacheutil -flushcache" after changing DNS
  • Manually configured DNS takes priority over DHCP

Ready to improve your DNS?

Choose the best free DNS server for your needs and configure it in minutes.