Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

Domain Naming System: Enabling DNS over TLS in Windows 11

Posted on 16/10/202206/03/2024 Matthew By Matthew No Comments on Domain Naming System: Enabling DNS over TLS in Windows 11
  1. Home
  2. Network | Monitoring
  3. Domain Naming System: Enabling DNS over TLS in Windows 11
DNS encryption
DoT Configuration in Windows 11

Domain Naming System over TLS, or DoT, is an encrypted DNS protocol. It is seen as a viable alternative to DNS over HTTPS. In this article, we shall discuss “Domain Naming System: Enabling DNS over TLS in Windows 11”. DNS traffic in DoH is simply another HTTPS data stream over port 443. On the other hand, DNS over TLS defines port 853 for encrypting DNS communication and allows it to operate over a TLS tunnel without the requirement for HTTP layering underneath. Please see DNS Bad key 9017: The Cluster Name registration failed of one or more associated DNS names and How to setup a cache-only DNS server.

This enhances DoT and makes it stronger than DoH. It uses TLS encryption over UDP, or Use Datagram Protocol, which is a low-latency communication protocol. Not only that, but it also assures that no undesired changes are made to DNS queries as a result of on-path attacks.

Microsoft is aware of DoT’s capabilities and is planning to incorporate them into its operating system. As a result, Windows 11 now allows users to try DoT, so let’s look at how you can activate it.

It is currently available in Windows Insider Builds but is expected to roll out to Windows Stable versions soon.

Also, see Upgrade Driver Automation Tool: Windows Driver Management, How to Disable TLS 1.0, TLS 1.1 and TLS 1.2 in Windows Using GPO, and Domain Name System Protocol: Client Registration Issue.

How to Enable Domain Naming System over TLS in Windows 11

In Windows 11, enabling DNS over TLS involves two steps:

  • Set DoT-providing DNS resolver as the main and the sole resolver.
  • Run CMD Commands to enable DoT.

Let’s discuss each of these steps in turn. Other related guides on DNS: A-Z of Domain Name System: All you need to know about DNS, How to disable Lock Screen on Windows 10 via Local Group Policy Editor, Domain Name System: How to create a DNS record, 

1. Set DoT-providing DNS resolver as the main and the sole resolver

First, we must change Windows settings to make the DoT-provided Domain Naming System resolver the primary one. To do this, follow these steps.

Press Win + I key together to open Settings and click on Network & internet. Select Wi-Fi or Ethernet, based on the network you are currently using. Then click on Properties.

DNS security
Network & Internet Settings on Windows.

Go to DNS server assignmentand click on Edit.

DNS configuration
Windows Settings: Network & Internet

Select Manual in the drop-down menu and enable IPv4 and/or IPv6.

DNS privacy
Windows Settings: DNS Configuration

In the Preferred DNS box, enter the IP of the DoT server. Make sure that <resolver-IP-address> (Unencrypted) appears on the “IPv4 DNS servers:” row.

Let’s go on to the next and last step after you have made the necessary adjustments to your settings.

Here are some exciting articles: Check .NET Framework version on Windows, and Batch rename multiple files on Windows

2. Activate DoT Using the CMD Commands

Let us enable DoT using certain commands after we have verified the resolver IP address. To do so, click the Windows key to open the Start menu, launch Command Prompt as an administrator.

DNS encryption
Command Prompt

Run the following commands.

1. netsh dns add global dot=yes
2. netsh dns add encryption server=<DNS-resolver-IP> dothost=: autoupgrade=yes
3. ipconfig /flushdns
image5
Enabling DoT in Command Prompt

This way, DoT or DNS over TLS will be enabled.

How to check if Domain Naming System over TLS is working or not?

We need to run a few commands to see if DNS over TLS is functioning. So, launch Command Prompt in elevated or administrator mode and execute the following command.

netsh dns show global

The output should show that DoT is enabled. If it’s not stating anything like that, try the following command.

netsh dns add global dot=yes

Finally, you can check the specific DNS server’s DoT settings as follows:

netsh dns show encryption

Your DoT is working if the output for your resolver IP indicates that auto-upgrade is set to yes and UDP fallback is set to no. You should review your setup if not. If you do that, DoT should start working. 

Conclusion on Domain Naming System

In addition to DNS over HTTPS, Microsoft supports a second encrypted DNS protocol with DNS over TLS in Windows 11.

Your decision will rely on your specific needs. Whether administrators wish to isolate DNS traffic or prefer a normal HTTPS port connection is a crucial consideration in this choice.

I hope you found this article useful on “Domain Naming System: Enabling DNS over TLS in Windows 11”. Please feel free to leave a comment below.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Network | Monitoring, Windows Tags:DNS, HTTPS, Windows 11

Post navigation

Previous Post: Query MBAM to display the BitLocker Recovery report
Next Post: When Should I Use TPM or TPM + PIN

Related Posts

  • Feature image DEP
    Disable Data Execution Prevention and determine that hardware DEP is available and configured Security | Vulnerability Scans and Assessment
  • Screenshot 2020 08 14 at 23.03.54
    How to disable Taskbar Web Search in Windows 10 via GPO and Windows Registry Windows
  • Cross Domain Folders Access
    Cross Domain Folders Access: Reference account is Locked out Windows
  • Migrate from Universal Analytics to GA4 property
    Configure and Migrate from Universal Analytics to GA4 property Automation
  • Featured image wifipass
    Find saved Wi-Fi Passwords in Windows 10 and 11 Network | Monitoring
  • Capture 12
    How to Generate SSH Keys in Windows 10 Windows

More Related Articles

Feature image DEP Disable Data Execution Prevention and determine that hardware DEP is available and configured Security | Vulnerability Scans and Assessment
Screenshot 2020 08 14 at 23.03.54 How to disable Taskbar Web Search in Windows 10 via GPO and Windows Registry Windows
Cross Domain Folders Access Cross Domain Folders Access: Reference account is Locked out Windows
Migrate from Universal Analytics to GA4 property Configure and Migrate from Universal Analytics to GA4 property Automation
Featured image wifipass Find saved Wi-Fi Passwords in Windows 10 and 11 Network | Monitoring
Capture 12 How to Generate SSH Keys in Windows 10 Windows

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

Veeam Vanguard

  • Azure logo
    Microsoft Azure Active Directory: How to setup Azure AD Tenant AWS/Azure/OpenShift
  • image 73
    How to manage and use Amazon S3 access points using the AWS Management Console AWS/Azure/OpenShift
  • adfs training
    Post-Deployment of Active Directory Federation Service (ADFS) Windows Server
  • Windows 11 Taskmanager 1
    How to end a program via the Task Manager in Windows 11 Windows
  • screenshot 2020 04 18 at 00.01.07
    Different ways to check for Ansible syntax errors Configuration Management Tool
  • maxresdefault 2 8
    Configure Windows Server using EC2 Launch AWS/Azure/OpenShift
  • iscsi
    Install and configure iSCSI Target Server and iSCSI Initiator on a Windows Server Windows Server
  • microsoft warns windows 10 cumulative update kb4494441 breaks down some websites 526066 2
    Launch an application automatically during startup on Windows Windows

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,784 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.