...

...

Skip to Content

How to change DNS settings on Windows

For a simpler setup, consider using Private DNS (DNS over HTTPS) which is available on Windows 11 and later.

Windows 11 / Windows Server 2022

Open Network Settings

Right-click the network icon in the taskbar:

Windows 11 taskbar network icon

Select Network and Internet settings:

Windows 11 Network and Internet settings menu

Click Ethernet or Wi-Fi depending on your connection type:

Windows 11 Ethernet or Wi-Fi selection

Configure DNS Servers

In the DNS server assignment section, click Edit:

Windows 11 DNS server assignment edit button

Change from Automatic (DHCP) to Manual:

Windows 11 DNS manual configuration dialog

Enter the following DNS servers:

IPv4

SettingValue
Preferred DNS185.222.222.222
Alternate DNS45.11.45.11

Windows 11 DNS IPv4 settings

IPv6

SettingValue
Preferred DNS2a09::
Alternate DNS2a11::

Windows 11 DNS IPv6 settings

Click Save to apply the changes.

Windows 10 / Windows Server 2019

Open Network Settings

Right-click the network icon in the taskbar:

Windows 10 taskbar network icon

Select Open Network & Internet settings:

Windows 10 Network and Internet settings menu

Click Change adapter options:

Windows 10 change adapter options

Right-click your active network adapter and select Properties:

Windows 10 adapter properties menu

Configure IPv4 DNS

Select Internet Protocol Version 4 (TCP/IPv4) and click Properties:

Windows 10 TCP/IPv4 properties

Select Use the following DNS server addresses and enter:

SettingValue
Preferred DNS server185.222.222.222
Alternate DNS server45.11.45.11

Windows 10 DNS IPv4 settings

Click OK to save.

Configure IPv6 DNS

Select Internet Protocol Version 6 (TCP/IPv6) and click Properties:

Windows 10 TCP/IPv6 properties

Select Use the following DNS server addresses and enter:

SettingValue
Preferred DNS server2a09::
Alternate DNS server2a11::

Windows 10 DNS IPv6 settings

Click OK to save.

Last updated on