How to configure custom DNS on a macOS device

In this article, you will learn how to change, add, or remove the DNS settings on your macOS device.

Follow these steps to set custom DNS on a macOS device:

  1. Click the System Preferences icon in the Dock, or choose Apple menu > System Preferences.


  2. Click on the Network section.


  3. Select the network you wish to configure your DNS on. In this case, you will configure the main Wi-Fi networks' DNS. After selecting the network, click on Advanced...


  4. In the new window, select the DNS section. After that, you will be able to add ( + ) or remove ( - ) DNS entries. Click on + to add your DNS entries.


  5. To edit a DNS entry, double-click on the DNS address, and you will be able to change it. If you want to remove it, select the DNS address by clicking on it once and then clicking the  -  sign.

    Here are the Surfshark DNS addresses:
    162.252.172.57

    149.154.159.92



    Once done, make sure to click OK.

  6. Lastly, click Apply on the Network window for the changes to save.

 

 

 

You may also be interested in:

Was this article helpful?
Thank you for your feedback!