Troubleshooting (22)
Last updated May 6, 2026 This guide helps you diagnose and resolve common issues with Cloudflare's DNS Resolver. Before proceeding with manual troubleshooting steps, verify your connection to automatically gather relevant information.
Name resolution issues
If a domain name is not resolving correctly, test DNS resolution against 1.1.1.1 and compare the result to another resolver (such as 8.8.8.8). The CHAOS TXT queries (id.server) identify which Cloudflare server handled your request, which is useful when reporting issues.
Linux/macOS
# Test DNS resolution
dig example.com @1.1.1.1
dig example.com @1.0.0.1
dig example.com @8.8.8.8
# Check connected nameserver
dig +short CHAOS TXT id.server @1.1.1.1
dig +short CHAOS TXT id.server @1.0.0.1
# Optional: Network information
dig @ns3.cloudflare.com whoami.cloudflare.com txt +short
Windows
# Test DNS resolution
nslookup example.com 1.1.1.1
nslookup example.com 1.0.0.1
nslookup example.com 8.8.8.8
# Check connected nameserver
nslookup -class=chaos -type=txt id.server 1.1.1.1
nslookup -class=chaos -type=txt id.server 1.0.0.1
# Optional: Network information
nslookup -type=txt whoami.cloudflare.com ns3.cloudflare.com
Caution
The network information command reveals your IP address. Only include this in reports to Cloudflare if you are comfortable sharing this information.
For additional analysis, you can generate a DNSViz ↗︎ report for the domain in question.
Connectivity and routing issues
If DNS queries time out or you cannot reach 1.1.1.1 at all, the problem may be a network routing issue between your device and Cloudflare. Run traceroutes to both resolver addresses to identify where packets are being dropped.
Before reporting connectivity issues:
- Search for existing reports from your country and ISP.
- Run traceroutes to both Cloudflare DNS resolvers.
Linux/macOS
# Basic connectivity tests
traceroute 1.1.1.1
traceroute 1.0.0.1
# If reachable, check nameserver identity
dig +short CHAOS TXT id.server @1.1.1.1
dig +short CHAOS TXT id.server @1.0.0.1
# TCP connection tests
dig +tcp @1.1.1.1 id.server CH TXT
dig +tcp @1.0.0.1 id.server CH TXT
Windows
# Basic connectivity tests
tracert 1.1.1.1
tracert 1.0.0.1
# If reachable, check nameserver identity
nslookup -class=chaos -type=txt id.server 1.1.1.1
nslookup -class=chaos -type=txt id.server 1.0.0.1
# TCP connection tests
nslookup -vc -class=chaos -type=txt id.server 1.1.1.1
nslookup -vc -class=chaos -type=txt id.server 1.0.0.1
DNS-over-TLS (DoT) troubleshooting
DNS over TLS encrypts DNS queries using TLS on port 853. If your DoT connection is not working, test TLS connectivity and then DNS resolution over TLS.
Linux/macOS
# Test TLS connectivity
openssl s_client -connect 1.1.1.1:853
openssl s_client -connect 1.0.0.1:853
# Test DNS resolution over TLS
kdig +tls @1.1.1.1 id.server CH TXT
kdig +tls @1.0.0.1 id.server CH TXT
Windows
Windows does not include a standalone DoT client. You can test TLS connectivity using OpenSSL after installing it manually.
DNS-over-HTTPS (DoH) troubleshooting
DNS over HTTPS sends DNS queries as HTTPS requests. If your DoH connection is not working, test it by querying the Cloudflare DNS endpoint directly.
Linux/macOS
curl -H 'accept: application/dns-json' 'https://cloudflare-dns.com/dns-query?name=cloudflare.com&type=AAAA'
Windows
(Invoke-WebRequest -Uri 'https://cloudflare-dns.com/dns-query?name=cloudflare.com&type=AAAA').RawContent
Common issues
First hop failures
If your traceroute fails at the first hop (the first network device after your computer, usually your router), the issue is likely hardware-related. Your router may have a hardcoded route for 1.1.1.1 that conflicts with using it as a DNS resolver. When reporting this issue, include:
- Router make and model
- ISP name
- Any relevant router configuration details
Additional resources
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/1.1.1.1/troubleshooting/#page","headline":"Troubleshooting","description":"Learn how to diagnose and report issues with Cloudflare's DNS Resolver","url":"https://developers.cloudflare.com/1.1.1.1/troubleshooting/","inLanguage":"en","image":"https://developers.cloudflare.com/1.1.1.1/troubleshooting/og.png?v=ca2e4071c428bd37","dateModified":"2026-05-06","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"},"keywords":["Debugging","CLI"]}
description: Terms of use for the 1.1.1.1 DNS resolver. title: Terms of use image: https://developers.cloudflare.com/1.1.1.1/terms-of-use/og.png?v=7772fe692e288d6d
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/1.1.1.1/llms.txt
Use this file to discover all available pages before exploring further.
Docs