How to set custom DNS on a Windows device

This guide will show you how to edit, add, or remove the DNS settings on your Windows device.


  1. Click the Windows Start button and search for Control Panel using the search bar. Once Control Panel appears in the search results, click on it.

  2. Go to the Network and Internet tab.

  3. Click on the Network and Sharing Center.

  4. Select Change adapter settings from the left panel.

  5. A window with all network adapters will open up. Right-click on the active network adapter and choose the Properties tab. You can recognize the active adapter from the green connection bar next to it.

    If you connect to the Internet via Wi-Fi, the Wi-Fi adapter must be active.
    If you connect to the Internet via Ethernet cableEthernet
    is your active adapter.

  6. Select Internet Protocol Version 4 (TCP/IPv4), then click Properties.

  7. Mark the Use the following DNS server addresses bubble, and enter your DNS addresses.

    Here are the DNS addresses you can try: 
    Surfshark addresses: and

    Click OK.

  8. Repeat the process for Surfshark Data Channel Offload adapter as well.

    Restart your Windows device afterward, which is necessary for new changes to apply.

Congratulations - you have successfully set up custom DNS on your Windows device! 



You may also be interested in:

Was this article helpful?
Thank you for your feedback!