Set custom DNS servers on Windows 11

Comments 0

Set custom DNS servers on Windows 11

Today I’ll show you how to set custom DNS servers on Windows 11 and enable DNS encryption (DNS over HTTPS or DoH) if your provider supports it, to increase security and privacy. Let’s get started.


Free DNS Providers

Before changing DNS servers, you’ll need to find a third-party DNS provider. There are plenty of good (and free) services available, and I recommend Google DNS which is what I use and have never had an issue. I will list here the most popular DNS providers:

GOOGLE (Supports DoH encryption)

  • Primary IPv4:
  • Secondary IPv4:
  • Preferred IPv6: 2001:4860:4860::8888
  • Alternate IPv6: 2001:4860:4860::8844

OPENDNS (Supports DoH encryption)

  • Primary:
  • Secondary:
  • Preferred IPv6: 2620:0:ccc::2
  • Alternate IPv6: 2620:0:ccd::2


  • Primary:
  • Secondary:

COMODO (Supports DoH encryption as a paid service)

  • Primary:
  • Secondary:

VERISIGN (Supports DoH encryption)

  • Primary:
  • Secondary:


Set custom DNS servers on Windows 11

  1. Click Start , then Settings
    Click Start, Settings
  2. Select Network & Internet from side-menu, then click either Ethernet or Wireless depending on how your computer connects to the Internet (if you use both, you will need to repeat this entire process for each connection)
    Click Network & Internet, Ethernet or WiFi
  3. Under DNS server assignment click the Edit button
    Edit DNS server assignment
  4. Change Automatic (DHCP) to Manual, toggle IPv4 to on, then enter IPv4 IP address (i.e. Choose Encrypted only (DNS over HTTPS) if your provider supports it. Repeat this process for Alternate DNS
    Enter DNS settings for IPV4
  5. Toggle IPv6 to on, then enter an IPv6 IP address (i.e. 2001:4860:4860::8888). Choose Encrypted only (DNS over HTTPS) if your provider supports it. Repeat this process for Alternate DNS, and click Save
    Enter DNS settings for IPv6
  6. After clicking Save, confirm the changes by viewing the new settings.
    Confirm DNS settings
  7. Your Internet connection will now use your chosen DNS IP addresses.

Video Guide


Hopefully everything went smoothly for you and you’re now using safe and secure DNS. If you had any issues, hit me up in the comments or socials/email.

Newsletter Signup

Privacy Policy

See Also

Further Reading

Categories Windows 11, Networking


There are currently no comments on this article.


Enter your comment below. Fields marked * are required. You must preview your comment before submitting it.

PLEASE NOTE: You must preview a comment before submitting

Comments use Textile formatting