How to set custom DNS on a Windows device

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

Follow these steps to set custom DNS on a 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.

    NOTE: If you connect to the Internet via Wi-Fi, the Wi-Fi adapter must be active.
    If you connect to the Internet via an Ethernet cable, Ethernet
    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

  8. Click OK.

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

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


You may also be interested in:

Was this article helpful?
Thank you for your feedback!