Every time you visit a website, your device needs to find its IP address. This process usually begins with a Domain Name System (DNS) lookup. Traditional DNS requests are often sent without encryption. Someone monitoring the network may be able to see which domains your device is trying to access.
DNS over HTTPS (DoH) helps protect these requests. It sends DNS queries through an encrypted HTTPS connection between your device and a DNS resolver. This adds privacy to an important part of everyday internet use. However, DoH does not make all browsing activity invisible. Its benefits depend on the DNS provider, device settings, and the rest of your network security setup.
What Is DNS over HTTPS?
DNS over HTTPS is a protocol that sends DNS queries and responses through HTTPS. The Internet Engineering Task Force (IETF) standardised DoH in RFC 8484. The protocol maps DNS query and response exchanges to HTTP requests. It uses HTTPS to protect communication between the client and the DNS resolver.
In simple terms, DoH encrypts the process of asking a DNS server where a website is located. For example, when you enter a website address in your browser, your device needs to find the corresponding IP address. With DoH enabled, the DNS request travels through an encrypted HTTPS connection instead of traditional unencrypted DNS transport.
This makes it harder for people on the same network to read or modify the DNS request while it is in transit.
How Does DNS over HTTPS Work?
DoH follows the same basic DNS resolution process. The main difference is how the query travels between your device and the resolver.
Here is how the process works.
Step 1. You Enter a Website Address
You type a domain name into your browser, such as example.com. Your browser or operating system needs the domain’s IP address before it can establish a connection to the website.
Step 2. Your Device Sends a DNS Query
The device creates a DNS query asking for the IP address associated with the domain. When DoH is enabled, the query is sent to a DoH-compatible resolver through HTTPS.
Step 3. The Query Travels Through an Encrypted Connection
HTTPS uses Transport Layer Security (TLS) to protect the connection. This prevents ordinary network observers from reading the DNS query directly or changing its contents without detection.
Step 4. The DNS Resolver Processes the Request
The resolver checks its cache or performs the necessary DNS lookups to find the requested record. It then prepares a DNS response containing the information needed by the client.
Step 5. The Resolver Sends the Response
The DNS response returns to your device through the encrypted HTTPS connection. Your browser can then use the IP address to connect to the website. The process is similar to traditional DNS. DoH changes the transport method rather than replacing DNS itself.
DNS over HTTPS vs Traditional DNS
Traditional DNS commonly uses UDP or TCP port 53. These requests are generally not encrypted by default. DoH carries DNS messages through HTTPS, commonly using port 443.
| Feature | Traditional DNS | DNS over HTTPS |
| Transport | UDP or TCP | HTTPS |
| Default encryption | Usually unencrypted | Encrypted with TLS |
| Common port | 53 | 443 |
| DNS query privacy | Limited on the network path | Better protection between client and resolver |
| Network monitoring | Easier to inspect DNS traffic | Requires suitable HTTPS or endpoint visibility |
| Resolver trust | Required | Required |
DoH protects DNS traffic between the client and the selected resolver. It does not prevent the resolver from seeing the queries it processes.
Benefits of DNS over HTTPS
1. Protects DNS Queries on Public Wi-Fi
Public Wi-Fi networks are often shared by many users. Without encrypted DNS, a network operator or someone monitoring the connection may be able to observe DNS requests. DoH encrypts the query between your device and the resolver. This reduces the amount of DNS information exposed to local network observers. It is useful when connecting through public hotspots, hotels, airports, and other shared networks.
2. Makes DNS Traffic Harder to Intercept
Traditional DNS traffic can be exposed to certain interception and manipulation attempts. DoH uses HTTPS authentication and encryption to protect communication with the selected resolver. This helps prevent unauthorised parties from reading or modifying DNS messages in transit.
3. Adds Privacy to Everyday Browsing
DNS queries can reveal information about the websites and services a device is trying to access. DoH reduces this exposure while queries travel across the network. Parents who want to understand broader online privacy protections can also read this guide on children’s digital privacy and online safety.
4. Uses Existing HTTPS Infrastructure
DoH works through the same general HTTPS ecosystem used by websites and web applications. This allows DNS queries to use established HTTP features, including connection management and caching. However, using HTTPS does not automatically make a DNS resolver trustworthy. Users still need to choose a provider carefully.
5. Can Support Secure Business Connectivity
Businesses depend on DNS for websites, cloud platforms, communication tools, and internal services. A properly configured encrypted DNS service can protect DNS communication between managed devices and an approved resolver. For example, businesses using hosted VoIP services in the UK should consider DNS reliability and security as part of their overall network planning.
Limitations of DNS over HTTPS
DoH improves DNS privacy, but it has limitations that users should understand before enabling it.
1. The DNS Resolver Can Still See Your Queries
DoH encrypts DNS traffic between your device and the resolver. The resolver must still process the query. It can therefore see the domain being requested and may associate queries with your IP address or other connection information. Choosing a reliable DNS provider is important. Review its privacy policy, logging practices, security features, and data retention rules before using it.
2. DoH Does Not Hide All Browsing Activity
DoH does not provide complete anonymity. Websites still receive connection information when you visit them. Your IP address may be visible to the website, and other network metadata may remain available. DoH also does not replace a VPN, secure browser settings, or other privacy tools.
3. It Can Affect Parental Controls
Some parental control systems rely on DNS filtering to block unsuitable websites. If a browser uses an external DoH resolver, it may bypass the DNS filtering configured on the home router or network. Parents should check whether their chosen DoH provider supports suitable filtering and whether the browser respects the existing network settings.
4. It May Bypass Business Security Policies
Businesses often use internal DNS services to manage access to websites, detect suspicious domains, and support internal applications. An unmanaged DoH configuration can bypass these controls. The US National Security Agency recommends that enterprise networks use designated DNS resolvers and manage encrypted DNS carefully to preserve security monitoring and policy enforcement.
5. It Does Not Replace DNSSEC
DoH encrypts the connection between the client and resolver. DNSSEC serves a different purpose. It helps validate the authenticity of DNS data through digital signatures. The two technologies are compatible. DoH does not automatically provide DNSSEC validation, and DNSSEC does not encrypt DNS queries.
DNS over HTTPS vs DNS over TLS
DNS over TLS (DoT) is another method of encrypting DNS traffic. Both DoH and DoT protect DNS queries between the client and resolver. Their main difference is the transport protocol.
| Feature | DNS over HTTPS | DNS over TLS |
| Full name | DNS over HTTPS | DNS over TLS |
| Transport | HTTPS | TLS |
| Common port | 443 | 853 |
| Integration | Uses HTTP infrastructure | Dedicated encrypted DNS transport |
| Common use | Browsers, operating systems, applications | Operating systems and DNS clients |
DoH can blend in with other HTTPS traffic, which may make DNS-specific filtering more difficult. DoT uses a dedicated port by default, making it easier for network administrators to identify and manage. Both protocols can provide similar DNS encryption and privacy protections.
How to Enable DNS over HTTPS
The steps depend on your operating system, browser, and DNS provider.
Enable Secure DNS in Google Chrome
- Open Google Chrome.
- Select the three-dot menu.
- Go to Settings.
- Open Privacy and security.
- Select Security.
- Find the Use secure DNS setting.
- Choose a supported provider or select the available automatic option.
The exact wording and available options may vary by Chrome version.
Enable DNS over HTTPS in Firefox
- Open Firefox.
- Select the menu and open Settings.
- Go to Privacy & Security.
- Find the DNS over HTTPS section.
- Select the preferred protection level.
- Choose a supported provider if the option is available.
Firefox provides controls for configuring or disabling DoH when it conflicts with network policies or other services.
Enable DNS over HTTPS in Windows
Windows 11 supports DoH for compatible DNS configurations.
- Open Windows Settings.
- Select Network & Internet.
- Open your active network connection.
- Find the DNS server assignment settings.
- Edit the DNS configuration.
- Select an encrypted DNS option when available.
- Save the changes.
The available settings depend on the Windows version and the DNS server you choose.
Should You Use DNS over HTTPS?
DoH can be a useful privacy improvement for individuals who want to protect DNS requests on shared networks. It may also suit home users who want encrypted DNS without installing additional software. For businesses, the decision requires more planning. IT teams should confirm that DoH works with internal DNS, security monitoring, content filtering, and network access policies. If your network already uses a trusted DNS security service, configure DoH to use that service rather than allowing unmanaged external resolvers.
Frequently Asked Questions
Is DNS over HTTPS safe?
DoH protects DNS queries between your device and the selected resolver using HTTPS encryption. Its safety also depends on the resolver’s security and privacy practices.
Does DNS over HTTPS make browsing anonymous?
No. DoH encrypts DNS traffic to the resolver, but websites and other services may still receive your IP address and connection information.
Is DNS over HTTPS faster than normal DNS?
Not always. Performance depends on the resolver, network conditions, caching, and connection setup. DoH may perform well, but it does not guarantee faster browsing.
Can I use DNS over HTTPS with a VPN?
Yes. DoH can work with a VPN, but the DNS configuration matters. Ideally, DNS requests should follow the VPN’s intended resolver and privacy settings.
Does DoH block malware?
DoH itself does not block malware. Some DNS providers offer filtering that can block known malicious domains, but this depends on the provider’s features and threat intelligence.
Can DoH affect online gaming?
DoH may change how a game or device resolves domain names. It does not directly improve gaming latency or internet speed. For a broader look at network performance, read how cloud gaming is changing the future of gaming.
Conclusion
DNS over HTTPS adds encryption to DNS communication between a device and its resolver. It helps protect DNS queries from being observed or modified while they travel across the network. It is a useful privacy feature for home users, mobile devices, and compatible browsers. However, it does not hide all browsing activity or remove the need to trust the DNS provider.
Before enabling DoH, consider how it works with your current network settings. For businesses and managed networks, use an approved resolver that supports existing security policies. When configured properly, DoH can make DNS communication more private without changing the basic way websites are accessed.


Leave a Reply