Configure DNS-over-HTTPS for Windows 10 (Build 19628 or Newer)

Configure DNS-over-HTTPS for Windows 10 (Build 19628 or Newer)

REQUIRED: Windows 10 (Build 19628 or Newer)

REQUIRED: MOBILE DOH ADDRESS PREFIX

REPLACE {DOH PREFIX} with your DoH prefix.


Enable DoH in Windows 10

• Open the Registry Editor (regedit).
• Navigate to the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters
• Create a new DWORD (32-bit) Value named EnableAutoDoh.
• Set its value data to 2.

Add DoH Servers to Windows 10’s auto-promotion list

Run the following commands as administrator:

netsh dns add encryption server=142.202.107.1 dohtemplate="https://{DOH PREFIX}.dns.securd.com/dns-query"
netsh dns add encryption server=142.202.107.2 dohtemplate="https://{DOH PREFIX}.dns.securd.com/dns-query"
netsh dns add encryption server=2620:82:6000::1 dohtemplate="https://{DOH PREFIX}.dns.securd.com/dns-query"
netsh dns add encryption server=2620:82:6000::2 dohtemplate="https://{DOH PREFIX}.dns.securd.com/dns-query"

Verify DoH Servers

Verify the template was applied to the DoH servers with the following commands:

netsh dns show encryption server=142.202.107.1
netsh dns show encryption server=142.202.107.2
netsh dns show encryption server=2620:82:6000::1
netsh dns show encryption server=2620:82:6000::2
 
Configure DNS Servers in Control Panel

• Open Control Panel.
• Go to Network and Internet -> Network and Sharing Center -> Change adapter settings.
• Right click on the connection you want to add a DNS server to and select Properties.
• Select either Internet Protocol Version 4 (TCP/IPv4) and/or Internet Protocol Version 6 (TCP/IPv6) and click Properties.
• Select the Use the following DNS server addresses radio button, and add the DNS server addresses into the fields below.
• Click OK or Apply to close all the dialog window.
• Restart the computer, Windows 10 should abandon classic DNS over port 53 and send DNS resolution requests over.
    • Related Articles

    • Configure DNS-over-HTTPS in Linux

      To configure DNS-over-HTTPS in Linux, you will need a DoH address prefix from a Virtual Site. Replace {doh_prefix} with your DoH prefix. systemd-resolved /etc/systemd/resolved.conf or /etc/systemd/resolved.conf.d/*.conf [Resolve] ...
    • Configure DNS-over-HTTPS in Firefox

      REQUIRED: MOBILE DOH ADDRESS PREFIX REPLACE {DOH PREFIX} with your DoH prefix. Configuring DNS-over-HTTPS with Firefox Manually     Click the menu button Menu and select Preferences.     In the General panel, scroll down to Network Settings and click ...
    • Configure DNS-over-HTTPS in Chrome

      REQUIRED: MOBILE DOH ADDRESS PREFIX REPLACE {DOH PREFIX} with your DoH prefix. {DoH Hostname}: https://{DOH PREFIX}.dns.securd.com/dns-query Setting up DoH in Chrome isn’t as easy as Firefox DoH. Google is behind Mozilla with rolling out support for ...
    • Point Windows DNS to DigitalStakeout PDNS

      Getting started with Windows (Agent and Agentless) DigitalStakeout PDNS currently supports Windows 7, 8, 8.1, 10, Server 2008, Server 2012, Server 2016, and Server 2019 with .NET Framework 4.5+. Required Ports DigitalStakeout PDNS endpoints will ...
    • Forward Windows DNS Server Queries to DigitalStakeout PDNS

      Before Your Begin Forwarding DNS Queries You should have the DNS role installed. To install the DNS role, please see one of the following articles: https://docs.microsoft.com/en-us/windows-server/networking/dns/dns-top You should also have a Static ...