👉 Lock down your connection with NordVPN here: NordVPN
You’ll learn what DNS (Domain Name System) is, how DNS lookups work, and what they reveal about your browsing. Understand secure DNS, VPNs, and DNS leaks so you can make informed privacy choices without confusing encryption with anonymity.
Chapters: 0:00 Intro 0:12 What is DNS, and why do you need it? 0:50 What happens during a DNS lookup? 1:40 Can DNS reveal which websites you visit? 2:17 Does secure DNS make you anonymous? 3:13 How does DNS work with a VPN? 4:05 Outro
Affiliate notice: Some links may earn a commission. Thanks for your support.
Key Takeaways
DNS (Domain Name System) translates domain names into IP addresses so devices can find services. It does not deliver web pages, encrypt general traffic, or guarantee a site is trustworthy.
DNS lookups use caches and a recursive resolver. Cached answers remain usable for a limited time (TTL), which explains why DNS changes may not appear everywhere immediately.
Unencrypted DNS can expose requested domain names, not full URLs, passwords, or page contents. Lookups can reveal sensitive interests, but background requests mean they are not proof of deliberate visits.
Encrypted DNS protects the connection to your resolver, but the resolver still sees your queries. Check whether protection covers all apps and whether it can fall back to unencrypted DNS.
DNSSEC authenticates signed DNS data; it does not encrypt queries. It complements encrypted DNS rather than replacing it.
Changing DNS providers is not the same as using a VPN. It does not mask your public IP or encrypt general traffic; a VPN protects traffic routed through its tunnel but does not stop cookies or account-based tracking.
Check both the destination and route of DNS requests for leaks. A resolver’s identity alone cannot establish whether queries bypass your intended VPN protection.
👉 Add a connection-level privacy layer with NordVPN to encrypt VPN-routed traffic and mask your public IP, without mistaking that protection for complete anonymity.
DNS helps your devices find websites and online services. It also creates information about the names they look up, information that can matter for your privacy.
Understanding what DNS is makes it easier to judge settings such as “secure DNS,” choose a resolver, and understand what a VPN does and does not protect. The essential distinction is that name lookups, website encryption, and traffic routing are separate parts of an internet connection.
What Is DNS?
DNS stands for Domain Name System. It is the internet’s distributed naming system, best known for finding IP addresses associated with readable names such as example.com.
People use names because they are easier to remember. Devices use IP addresses to reach services over a network. DNS connects those two.
Some links may earn a commission. Thanks for your support.
Watch in the video playerOpen the dedicated player for this video.
The familiar “internet phonebook” analogy is useful, with one correction: DNS is not a single directory. It is a hierarchy of independently operated servers, supported by caches that store answers for reuse.
DNS also does more than find website addresses. It publishes information used to route email, locate services, and verify domain-related settings. The foundational DNS specification describes this distributed system.
What DNS Does, and Does Not Do
Function
Is it DNS’s job?
Find IP addresses associated with a domain name
Yes
Identify a domain’s mail servers
Yes
Publish certain service and verification records
Yes
Deliver a website’s pages, images, or videos
No
Encrypt all your internet traffic
No
Guarantee that a website is trustworthy
No
A successful DNS lookup helps an application find its destination. The application still needs to establish a separate connection to that destination.
How a DNS Lookup Works
Suppose you open https://www.example.com/account.
Before your browser can connect, it needs address information for www.example.com. A simplified lookup works like this:
Your browser or operating system checks its cache. A usable answer may already be stored locally.
Your device asks a recursive resolver. This service finds DNS answers on your behalf. It may be operated by your ISP, workplace, or another provider.
The resolver checks its own cache. If it has a valid answer, it can return it without repeating the full lookup.
If necessary, the resolver asks a root server for a referral. That referral helps it locate servers responsible for the relevant top-level domain, such as .com.
The resolver asks a top-level domain server for another referral. This helps it find the domain’s authoritative name servers.
The resolver asks an authoritative server for the records. It may need to follow aliases or further referrals.
The resolver returns the answer. Your browser can then establish its separate website connection.
Root, top-level domain, and authoritative servers do not pass your browser request along like a relay race. The resolver makes successive queries and follows the information it receives.
DNS Caching, TTL, and Propagation
A DNS cache stores previous answers so they can be reused. Caching reduces repeated work and can make lookups faster.
TTL, or time to live, limits how long a cached record can ordinarily be reused before refreshing.
This helps explain “DNS propagation.” When a domain owner changes a record, some users may temporarily receive an older cached answer. The change is not necessarily being pushed to every DNS server; different caches are refreshing at different times.
Common DNS Record Types
DNS does not simply store one IP address for every website. Different record types serve different purposes.
Record type
Purpose
A
Associates a name with an IPv4 address
AAAA
Associates a name with an IPv6 address
CNAME
Makes one name an alias for another DNS name
MX
Identifies mail servers for a domain
NS
Identifies authoritative name servers
TXT
Publishes text interpreted by applications, including email-policy and verification information
PTR
Commonly supports reverse DNS, mapping an address-related name to a hostname
A single service can have multiple addresses, and many domain names can share infrastructure.
What DNS Reveals About Your Browsing
Traditional DNS commonly travels without encryption. Someone able to observe those exchanges may see the requested names and returned answers.
Potential observers include:
Your local network operator, when plaintext DNS crosses its network.
Your ISP, when it can observe plaintext DNS or operates the resolver you use.
Your recursive resolver provider, which receives your queries.
Authoritative DNS operators, which see queries reaching their servers, usually from recursive resolvers rather than directly from your device.
The exact visibility depends on caching, encryption, forwarding, and other deployment choices. The IETF’s DNS privacy considerations explain these distinctions.
DNS Does Not Contain the Full Web Address
For https://www.example.com/account, the relevant DNS name is www.example.com.
The lookup does not need:
The /account page path.
URL query parameters.
Your password.
The page’s contents.
That does not make DNS harmless from a privacy perspective. A descriptive domain or subdomain can reveal sensitive interests.
A DNS Lookup Is Not Proof of a Deliberate Visit
DNS logs are not a reliable, complete browsing history. Apps make background requests, websites load resources from multiple domains, and browsers may resolve names speculatively.
A lookup shows that something requested information about a name. It does not, by itself, establish that someone intentionally opened a page, read its content, or performed an action.
Secure DNS, Encrypted DNS, and DNSSEC
Features labeled secure DNS or private DNS commonly encrypt exchanges between your device and a resolver. This helps protect those exchanges from straightforward reading or alteration by observers along that connection.
Common encrypted DNS transports include:
Technology
What it does
DNS over HTTPS (DoH)
Carries DNS exchanges over HTTPS
DNS over TLS (DoT)
Carries DNS over a dedicated TLS-protected transport
DNS over QUIC (DoQ)
Carries DNS over QUIC with encrypted transport
These technologies protect the relevant DNS connection. They do not encrypt every application connection or automatically protect every later exchange between DNS servers.
The resolver still receives your query. Encrypted DNS changes who can observe the exchange; it does not eliminate the need to trust the resolver.
Coverage also matters. A browser’s secure DNS feature may protect that browser without covering other apps. Some modes allow fallback to ordinary DNS, while stricter modes may fail if encrypted resolution is unavailable. Mozilla’s DoH documentation describes how these settings can vary.
DNSSEC Authenticates Data; It Does Not Hide Queries
DNSSEC, short for Domain Name System Security Extensions, addresses a different problem.
It allows validating systems to authenticate signed DNS data and detect certain unauthorized changes. It does not encrypt DNS queries.
The distinction is:
Encrypted DNS protects a transport connection.
DNSSEC authenticates signed DNS data.
Neither establishes that a website is honest. A malicious website can use legitimately signed DNS records. Encryption and DNSSEC can complement each other, but they are not interchangeable.
How DNS Works With a VPN
A VPN, or virtual private network, creates an encrypted connection between your device and a VPN endpoint. It can carry DNS requests through that tunnel alongside other routed traffic.
DNS answers the question, “Where should this name lead?” A VPN changes the path traffic takes and protects it over the device-to-VPN connection.
What Is a DNS Leak?
A DNS leak occurs when lookups escape the privacy or routing arrangement you intended.
For example, you might expect your VPN to carry DNS requests through its tunnel, but your device instead sends ordinary DNS queries directly to your ISP.
Resolver identity alone does not prove whether a leak exists:
A third-party encrypted resolver may still be reached through the VPN tunnel.
An encrypted DNS request sent outside the tunnel may be unreadable to the ISP, while the resolver sees your ordinary source address.
Browser DNS settings may behave differently from operating-system settings.
What matters is both who receives the query and which network path it takes.
Changing DNS Is Not the Same as Using a VPN
Choosing a different DNS resolver does not, by itself:
Create an encrypted tunnel for general internet traffic.
Mask the public IP address websites see.
Encrypt application traffic.
Remove cookies or account-based tracking.
A VPN also has limits. It shifts trust toward the VPN provider and does not erase information you disclose through logins, cookies, or browsing behavior. The FTC’s guidance on VPN apps emphasizes the importance of evaluating the provider.
DNS Errors and Performance
DNS problems can prevent a website from loading even when your internet connection otherwise works.
Some negative results can also be cached, so correcting a problem may not immediately change every device’s experience.
Changing resolvers can affect lookup latency and sometimes which service endpoint is selected. It does not inherently increase your connection’s bandwidth. DNS is one part of loading a website, not a universal speed boost.
Choosing DNS Privacy Protection
Start with the exposure you want to reduce:
To protect lookups from local network observers: Look for encrypted DNS and understand its coverage and fallback behavior.
To choose who handles your queries: Evaluate the resolver provider, not just the “secure” label.
To authenticate signed DNS answers: DNSSEC validation addresses that specific need.
To protect broader traffic over an untrusted network: A VPN can add a connection-level privacy layer, provided the intended traffic and DNS follow the protected path.
The goal is not to find one setting that makes you anonymous. It is to match each tool to the part of the connection it actually protects.
Add a Connection-Level Privacy Layer
DNS privacy is only one part of protecting everyday browsing. NordVPN can help put these concepts into practice by encrypting VPN-routed traffic and showing websites the VPN server’s public IP address instead of your own. It is an added privacy layer, not complete anonymity or a replacement for safer browsing habits.
Affiliate notice: Some links may earn a commission. Thanks for your support.
Next
FAQ
Quick answers to the questions people usually ask about this topic.
Does incognito or private browsing hide DNS requests?
No. Private browsing mainly limits what the browser retains locally; it does not automatically change how DNS requests travel. Your resolver still receives the queries, and network observers may see them if they use unencrypted DNS. Encrypted DNS or a VPN addresses different parts of that exposure, but neither makes private browsing anonymous.
Do I need encrypted DNS if a website already uses HTTPS?
HTTPS and encrypted DNS protect different exchanges. HTTPS protects the connection to the website, including page paths and content in transit. Encrypted DNS protects the lookup between your device and its resolver. Using HTTPS does not automatically encrypt DNS, and enabling encrypted DNS does not hide all information about your subsequent website connections.
Does clearing the DNS cache delete my browsing history?
No. Clearing a local DNS cache removes stored lookup answers, not browser history, cookies, or records held by DNS providers and network operators. It can help troubleshoot stale DNS answers, but it is not a way to erase evidence of past browsing. Your device will request fresh answers as needed.
What should I check before choosing a DNS provider?
Look beyond speed and the “secure” label. Review the provider’s logging and retention policies, support for encrypted DNS, DNSSEC validation, reliability, and any filtering it applies. Also check whether your chosen settings cover the whole device or only one browser, and whether they fall back to unencrypted DNS when encrypted resolution fails.
Why can websites stop loading after I enable secure DNS?
Your device may be unable to reach the selected encrypted resolver. In a strict mode, DNS resolution can fail rather than fall back to ordinary DNS. Check the resolver configuration and whether the problem occurs across apps or only in one browser. Temporarily changing the setting can help diagnose the issue, but allowing plaintext fallback changes your privacy protection.
Should I change my browser’s secure DNS settings when using a VPN?
Check how the browser and VPN work together before changing either setting. A browser may select a different resolver from the operating system, but that alone does not prove a leak: its requests might still travel through the VPN. The important checks are which resolver receives the queries and whether those queries follow your intended protected route.
Can I tell which pages someone visited from DNS logs?
Not reliably. DNS logs can contain requested domain names, but not the full HTTPS page paths or page contents. Background apps, embedded resources, and speculative browser lookups can also generate requests. A lookup is therefore a clue about activity, not proof that someone deliberately visited a particular page.
What can I use to protect more than DNS lookups on shared Wi-Fi?
A VPN can add a broader connection-level privacy layer by encrypting traffic routed through its tunnel and showing websites the VPN server’s public IP address. As a practical next step, explore NordVPN to apply those protections on everyday devices. Check that DNS follows your intended protected route, and remember that a VPN does not eliminate cookies, account-based tracking, or the need to trust the provider.
Affiliate link — I may earn a commission at no additional cost to you.
Jay's Recommendation
Turn privacy knowledge into everyday protection
The series explains online privacy. NordVPN helps you put it into practice with encrypted connections, IP masking, and apps for everyday devices. Reduce network-level exposure without building your own setup. It’s an added privacy layer, not complete anonymity or a replacement for safer browsing habits.
🔒Encrypted connectionsHelp shield VPN-routed traffic from observers on shared Wi-Fi.
👁Less ISP visibilityLimit what your provider can see about browsing carried through the VPN.
🎭Masked public IPShow websites the VPN server’s address instead of your own.
📱Privacy across devicesPut connection-level protection to work on your phone and computer.