How to change the DNS server on your Mac

To quickly change the DNS server on your Mac, you can simply adjust the network settings. Alternatively, you can also make changes directly via your router.

How to change the DNS server on your Mac via the network settings

mac-dns-server-network-settings.png
You can switch a Mac’s DNS server via the network settings.

To switch your Mac’s DNS settings, do the following:

  1. Click the Apple icon in the upper left corner to launch System Preferences.
  2. Select ‘Network’.
  3. Select your network profile. You can choose between LAN and WLAN.
  4. You might need to confirm your access rights before proceeding. To do so, click on the lock symbol and enter your username and password.
  5. Click on ‘Advanced’.
  6. A tab with the different options will display. Select ‘DNS’.
  7. On the left side under ‘DNS’, you’ll find all servers currently in use. Hit the plus symbol to add a new server, use the minus symbol to delete others. The servers are specified with an IPv4 or IPv6 address. If you haven’t added any servers, only the default server will be displayed. This cannot be removed.
  8. To change your Mac’s DNS server, confirm your choice and click ‘Ok’ and ‘Apply’.

How to change the server via the router

To apply the DNS changes to all your connected devices, you can modify the DNS settings directly via your router. The individual steps will depend on your provider and the respective router model. Generally, the following steps apply:

  1. Access the user interface of your router from your browser.
  2. Log in with your user data.
  3. You may see a section called ‘Internet’ with different access options. Select ‘DNS’.
  4. At this stage, servers are usually divided into DNSv4 and DNSv6. Click the option you’re currently using.
  5. Enter the IP address you wish to use.
  6. Confirm your selection.

With this procedure, you’re not just changing your Mac’s DNS server but the DNS for all connected devices. By taking this approach, you retain control of your server and benefit from not having to change each device individually.

mac-dns-server-administration-interface-router-fritz-box.png
With a Fritz!Box router, you can access the settings via the browser and amend DNS servers.

Why should you change your Mac DNS server?

A Domain Name System (DNS) server responds to requests from a device and resolves them into a valid IP address. In this way, users can enter the domain name of a web address in a browser instead of entering the full web address.

While a server is usually automatically assigned to you, in certain circumstances, it may make sense to change your DNS server settings. The most common reasons for this are as follows:

  • Overload: If a DNS server is overloaded, it can take a long time to display a website. As a result, you may receive a timeout notification and not be able to access the website. If the DNS server is not responding, changing the server may resolve the situation.
  • Security: Some DNS servers can block potentially malicious websites and thus prevent malware. On the other hand, some servers store search queries and pass them on for commercial use. You can prevent this by changing the DNS settings.
  • Filter: As previously mentioned, some servers filter websites. To access a blocked website, change the DNS server on your Mac to prevent a filter list from being used.
Summary

Changing your Mac DNS server is super easy. The process differs somewhat between different operating systems. To find out more, check out our articles on:

Was this article helpful?
Page top