DNS over HTTPS ensures that your DNS queries are encrypted when visiting websites, which improves your privacy.
Every time you visit a website, a DNS request is sent to translate that address. By default, this often happens unencrypted. With DNS over HTTPS (DoH), you ensure that those requests are encrypted, making it harder for third parties to monitor your activity.
Step 1: Choose your DNS servers
Before you begin, you need DNS addresses. You will use a primary and a secondary server for both IPv4 and IPv6.
For IPv4, you could choose, for example:
- Google: 8.8.8.8 and 8.8.4.4
- Cloudflare: 1.1.1.1 and 1.0.0.1
- Quad9: 9.9.9.9 and 149.112.112.112
For IPv6, you could use, for example:
- Google: 2001:4860:4860::8888 and 2001:4860:4860::8844
- Cloudflare: 2606:4700:4700::1111 and 2606:4700:4700::1001
- Quad9: 2620:fe::fe and 2620:fe::fe:9
Keep this information handy, as you will need it shortly.
Step 2: Open the settings
-
Windows settings
Click the Windows icon in the taskbar and open the Settings app. You can also do this faster using the keyboard shortcut Win + I.
-
Go to network options
In the settings, click on Network & internet in the left column. Then click on your active connection, such as Wi-Fi or Ethernet. Make sure to click on the name and not the on/off switch.
-
Open hardware properties
In the network connection menu, click on Hardware properties. Here you will find the technical details of your connection. Look for the DNS server assignment option and click Edit. In the window that appears, change the setting from Automatic to Manual.
-
Configure IPv4
Turn on the switch for IPv4. Once you do, additional fields will appear. Enter a primary and secondary DNS server here, for example 8.8.8.8 and 8.8.4.4.
Below that, under DNS over HTTPS (or Alternative DNS), select On (automatic template).
-
Configure IPv6
Next, turn on IPv6 as well and enter a primary and secondary DNS server again, but this time using IPv6 addresses. Enable DNS over HTTPS again.
-
Save and finish
Click Save to store everything correctly and then close the settings window. From this moment on, your DNS requests will be sent encrypted.
