DNS not resolving troubleshoot: causes and solutions

Quick Answer

DNS not resolving means your computer or network cannot translate domain names into IP addresses, preventing access to websites. In 2026, this issue typically stems from misconfigured DNS servers, network connectivity problems, or corrupted cache files. The fastest fix is flushing your DNS cache and switching to reliable public DNS servers like Cloudflare (1.1.1.1) or Google (8.8.8.8).

Why This Matters

DNS resolution failures account for approximately 30% of all reported internet connectivity issues, according to Cloudflare’s network research. When DNS stops working, entire organizations can lose access to critical cloud services, email systems, and web applications. Understanding how to troubleshoot DNS not resolving problems saves time, prevents business disruption, and helps maintain secure network configurations.

What Is DNS and How Does It Work?

The Domain Name System (DNS) functions as the internet’s phone book, converting human-readable domain names like abdulabror.com into machine-readable IP addresses. When you type a URL into your browser, your device queries DNS servers to find the corresponding IP address before establishing a connection.

The DNS resolution process involves multiple layers:

  • Your device checks its local DNS cache first
  • If not cached, it queries your configured DNS resolver (usually your ISP or a public DNS service)
  • The resolver queries root nameservers, then TLD nameservers, then authoritative nameservers
  • The IP address is returned and cached for future use

Any breakdown in this chain causes DNS resolution failures. Google’s Public DNS team reports that cached DNS responses reduce average query time from 100ms to under 10ms, making cache behavior critical to both performance and troubleshooting.

What Causes DNS Not Resolving Errors?

DNS resolution failures have six primary causes in modern networks:

Corrupted DNS cache: Your operating system stores DNS records locally to speed up subsequent requests. When these cached entries become corrupted or outdated, they prevent successful resolution even when the DNS servers function correctly.

Misconfigured DNS servers: If your network settings point to non-existent, unreachable, or incorrectly configured DNS servers, all resolution attempts fail. This commonly occurs after network changes, VPN connections, or manual configuration errors.

Firewall or security software blocking: Overly restrictive firewall rules, antivirus software, or security appliances may block DNS traffic on port 53, preventing queries from reaching DNS servers.

Network connectivity issues: Physical connection problems, router failures, or ISP outages disrupt the path to DNS servers even when your device configuration is correct.

DNS server outages: Public and private DNS services occasionally experience downtime. In 2024, even major providers like Cloudflare and Google experienced brief regional outages affecting millions of users.

DNSSEC validation failures: DNS Security Extensions (DNSSEC) validate DNS responses to prevent spoofing attacks. Misconfigured DNSSEC settings or expired cryptographic signatures cause legitimate queries to fail validation and be rejected.

How Do You Diagnose DNS Resolution Problems?

Systematic diagnosis identifies the exact failure point in the DNS resolution chain. Start with these verification steps:

Test with IP addresses: Try accessing a website directly by IP address (e.g., http://142.250.185.46 for Google). If this works but domain names fail, DNS is definitely the problem rather than general connectivity.

Check multiple domains: Test both well-known sites (google.com, cloudflare.com) and your target domain. If only specific domains fail, the issue likely lies with those domains’ authoritative nameservers rather than your local configuration.

Use command-line tools: DNS diagnostic commands reveal exactly where resolution breaks down:

# Windows - flush DNS cache and test resolution
ipconfig /flushdns
nslookup example.com
nslookup example.com 8.8.8.8

# Linux/Mac - test DNS resolution
sudo systemd-resolve --flush-caches  # or: sudo dscacheutil -flushcache
dig example.com
dig example.com @1.1.1.1

# Check your current DNS servers
# Windows:
ipconfig /all
# Linux:
cat /etc/resolv.conf
# Mac:
scutil --dns

The nslookup and dig commands show whether queries succeed, which DNS server responded, and the exact error type. According to OWASP’s network security guide, these tools should be your first diagnostic step in any DNS troubleshooting scenario.

Which DNS Servers Should You Use for Reliability?

Switching to proven public DNS servers often resolves persistent DNS issues. The most reliable options in 2026 are:

Cloudflare DNS (1.1.1.1, 1.0.0.1): Emphasizes privacy by not logging client IP addresses and offers the fastest average response times globally. Cloudflare reports 99.99% uptime and sub-15ms query response times for most users.

Google Public DNS (8.8.8.8, 8.8.4.4): Highly reliable with extensive global infrastructure. Provides built-in security features including DNSSEC validation and protection against cache poisoning attacks.

Quad9 (9.9.9.9): Adds threat intelligence by blocking access to known malicious domains. Non-profit operation focused on privacy and security rather than commercial data collection.

OpenDNS (208.67.222.222, 208.67.220.220): Owned by Cisco, offers optional content filtering and phishing protection. Good choice for family networks or small businesses requiring access control.

To change DNS servers permanently:

# Windows - via PowerShell (run as Administrator)
Set-DnsClientServerAddress -InterfaceAlias "Ethernet" -ServerAddresses "1.1.1.1","1.0.0.1"

# Linux - edit /etc/resolv.conf or use NetworkManager
sudo nano /etc/resolv.conf
# Add these lines:
nameserver 1.1.1.1
nameserver 1.0.0.1

# Mac - via System Preferences > Network > Advanced > DNS
# Or via command line:
networksetup -setdnsservers Wi-Fi 1.1.1.1 1.0.0.1

How Do You Fix DNS Not Resolving on Different Platforms?

Windows 10/11 fixes:

  1. Flush DNS cache: Open Command Prompt as Administrator and run ipconfig /flushdns
  2. Reset network stack: Run netsh winsock reset and netsh int ip reset, then restart
  3. Disable IPv6 temporarily: Sometimes IPv6 configuration issues interfere with IPv4 DNS resolution
  4. Check Windows Firewall: Ensure DNS Client service is running and port 53 (UDP/TCP) is allowed

Linux/Ubuntu fixes:

  1. Restart systemd-resolved: sudo systemctl restart systemd-resolved
  2. Clear systemd DNS cache: sudo systemd-resolve --flush-caches
  3. Verify /etc/resolv.conf points to correct nameservers
  4. Check if dnsmasq or other local DNS caching services are interfering

macOS fixes:

  1. Flush DNS cache: sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
  2. Renew DHCP lease: System Preferences > Network > Advanced > TCP/IP > Renew DHCP Lease
  3. Remove custom DNS configurations that may conflict
  4. Restart mDNSResponder service if issues persist

Router-level fixes: Access your router’s admin interface (typically 192.168.1.1 or 192.168.0.1), navigate to DNS settings, and configure reliable public DNS servers. This fixes DNS issues for all devices on your network simultaneously.

When Should You Contact Your ISP or Network Administrator?

Contact your ISP or internal IT team when:

  • DNS problems affect multiple devices on the same network after trying all local fixes
  • Switching to public DNS servers doesn’t resolve the issue
  • You can reach DNS servers (ping succeeds) but queries still fail
  • Problems began immediately after ISP maintenance or network configuration changes
  • Business-critical systems remain down after 30 minutes of troubleshooting

ISPs occasionally push incorrect DNS server configurations via DHCP or experience regional DNS infrastructure failures requiring intervention on their end. Network administrators may need to adjust firewall rules, routing tables, or enterprise DNS server configurations that individual users cannot access.

Related Guides on abdulabror.com

FAQ

Q: Why does my DNS work on mobile data but not WiFi?

Your WiFi network likely has misconfigured DNS settings or restrictive firewall rules blocking DNS traffic. Try changing your router’s DNS servers to 1.1.1.1 and 8.8.8.8, or contact your network administrator if you’re on a managed network.

Q: Can VPNs cause DNS resolution failures?

Yes, VPNs often route DNS traffic through their own servers, and if the VPN’s DNS configuration is incorrect or their DNS servers are down, all resolution attempts fail. Disconnect the VPN temporarily to test if it’s the cause, then check your VPN provider’s DNS settings or try a different VPN server location.

Q: How long does DNS cache take to clear after flushing?

DNS cache clearing is immediate after running flush commands. However, your browser maintains a separate DNS cache that requires browser restart to fully clear. Additionally, if your router caches DNS entries, you may need to reboot it for complete cache clearing across your network.

Q: What does “DNS_PROBE_FINISHED_NXDOMAIN” mean?

This error means the DNS server successfully responded but reported that the domain name doesn’t exist. This occurs when a domain is mistyped, has expired, hasn’t been registered yet, or has DNS records not yet propagated after recent changes (which can take 24-48 hours).

Q: Should I use my ISP’s DNS or public DNS servers?

Public DNS servers (Cloudflare, Google, Quad9) typically offer better reliability, faster response times, and stronger security than ISP DNS servers. ISP DNS servers may provide slightly faster resolution for local or regional sites but are more prone to outages, logging, and manipulation. For most users, public DNS is the better choice.

References



Leave A Comment

Need help with WordPress or hosting?

Based in Bali, Indonesia

Providing technical hosting support and WordPress services to clients worldwide. Remote-friendly, reliable, and always focused on practical solutions.

Samping work with me