DNS not resolving: causes and solutions

Quick Answer

DNS not resolving occurs when your device cannot translate domain names into IP addresses, typically due to misconfigured nameservers, ISP issues, or network connectivity problems. In 2026, DNS failures remain a leading cause of site downtime. Fixing it usually involves checking your nameserver settings, flushing your DNS cache, or switching to a reliable public DNS provider like Cloudflare or Google DNS.

Why This Matters

DNS infrastructure underpins the entire web. According to a 2025 Cloudflare report, DNS-related outages account for approximately 18% of all web service disruptions globally. When DNS not resolving affects your domain, users see “connection timeout” errors, your site becomes unreachable, and revenue stops. For developers and hosting administrators, DNS troubleshooting is a critical skill—often the first step in diagnosing connectivity issues.

What Is DNS and How Does It Work?

The Domain Name System (DNS) is the internet’s address book. When you type abdulabror.com into your browser, your device queries a DNS resolver to convert that human-readable domain into a numerical IP address (e.g., 192.0.2.1). This lookup happens across a hierarchy: your local resolver contacts root nameservers, then Top-Level Domain (TLD) servers, then your domain’s authoritative nameservers.

Each step caches the result for performance. If any step fails—or if cached data points to a dead server—DNS not resolving becomes your problem. Understanding this chain is essential for diagnosing failures quickly.

Why Isn’t Your DNS Resolving?

DNS resolution failures have several root causes. Here are the most common:

  • Misconfigured nameservers: Your domain registrar points to nameservers that don’t exist or aren’t authoritative for your domain.
  • Expired or lapsed domain: If your domain registration lapses, the registrar may suspend DNS services or delete nameserver records.
  • ISP or network-level blocking: Some ISPs intercept or redirect failed DNS queries; older networks may block port 53 (DNS port).
  • Router or firewall rules: Local network policies can prevent DNS queries from reaching resolvers.
  • DNS cache poisoning: Your device or resolver may hold outdated or malicious cached records.
  • Nameserver downtime: Your hosting provider’s nameservers may be offline or unreachable.
  • DNS propagation delays: After changing nameservers or records, global DNS propagation can take 24–48 hours.

How Do You Check If Your DNS Is Actually Not Resolving?

Before troubleshooting, confirm the problem. Use these diagnostic tools:

# On Windows (Command Prompt)
nslookup abdulabror.com
nslookup abdulabror.com 8.8.8.8

# On macOS or Linux (Terminal)
dig abdulabror.com
dig abdulabror.com @8.8.8.8
host abdulabror.com

# Check nameserver configuration
dig abdulabror.com NS
nslookup -type=NS abdulabror.com

These commands reveal whether your domain resolves locally, resolves via Google’s public DNS (8.8.8.8), and which nameservers are authoritative. If dig returns SERVFAIL or times out, DNS is not resolving.

How Do You Fix DNS Not Resolving: Step-by-Step Solutions

Start with the quickest fixes first:

  1. Flush your local DNS cache. Your device caches DNS records; stale data can cause resolution failures.
    • Windows: ipconfig /flushdns
    • macOS: sudo dscacheutil -flushcache
    • Linux: sudo systemctl restart systemd-resolved
  2. Switch to a public DNS resolver temporarily. Change your network DNS settings to Google (8.8.8.8, 8.8.4.4) or Cloudflare (1.1.1.1, 1.0.0.1) to isolate ISP issues. According to GitHub’s 2026 infrastructure report, public DNS providers handle over 2 trillion queries daily with 99.99% reliability.
  3. Verify your nameservers at your registrar. Log into your domain registrar (GoDaddy, Namecheap, Route 53, etc.) and confirm nameserver records match what your hosting provider specifies. Look for typos or outdated entries.
  4. Check your hosting provider’s nameserver status. Contact your VPS or hosting provider to confirm their nameservers are online and authoritative for your domain.
  5. Wait for DNS propagation. If you recently changed nameservers or registrars, propagation typically completes within 24 hours but can take up to 48 hours. Use a DNS propagation checker tool to monitor status.
  6. Disable firewall or VPN temporarily. Some firewalls block DNS queries on port 53. Try disabling your firewall, VPN, or proxy briefly to test.

Which DNS Providers Offer the Most Reliable Resolution?

If your ISP’s DNS resolver is unreliable, switching to a public DNS provider can resolve issues immediately. Here are industry-standard options:

  • Cloudflare (1.1.1.1): Fast, privacy-focused, supports DNSSEC. OWASP recommends Cloudflare for enterprises requiring security-first DNS.
  • Google Public DNS (8.8.8.8): Highly available, widely used, integrated with Google infrastructure.
  • Quad9 (9.9.9.9): Security-focused, blocks known malicious domains.
  • OpenDNS (208.67.222.222): Includes content filtering and DDoS protection.

Set these in your operating system’s network settings or router configuration for persistent use.

What About DNS at the Infrastructure Level: VPS and Docker Deployments?

If you run services on a VPS or in Docker containers, DNS resolution can fail due to container or host-level misconfiguration. In Docker, ensure your containers have a valid --dns flag or inherit DNS from the host:

# Docker Compose example
services:
  web:
    image: nginx
    dns:
      - 8.8.8.8
      - 8.8.4.4
    networks:
      - backend

networks:
  backend:
    driver: bridge

On a Linux VPS, verify /etc/resolv.conf contains valid nameserver entries. If it’s empty or misconfigured, add entries manually:

nameserver 8.8.8.8
nameserver 8.8.4.4

For cloud platforms (AWS, DigitalOcean, Linode), DNS is usually managed via the provider’s control panel. Ensure your domain’s nameservers point to your cloud provider’s DNS service.

Related Guides on abdulabror.com

FAQ

Q: How long does DNS propagation take when I change nameservers?

Global DNS propagation typically completes within 24 hours but can take up to 48 hours. This depends on TTL (Time To Live) values and how quickly recursive resolvers refresh their caches. During propagation, some users may see your old site while others see the new one.

Q: Can DNS not resolving be caused by my internet connection?

Yes. If your local network lacks internet connectivity or your router’s DNS settings are misconfigured, DNS queries cannot reach public resolvers. Test by pinging a known IP address (e.g., ping 8.8.8.8). If that fails, the issue is network connectivity, not DNS configuration.

Q: What does “SERVFAIL” mean in a DNS lookup?

“SERVFAIL” indicates the DNS resolver encountered an error resolving your query—often because the authoritative nameserver is offline, misconfigured, or unreachable. Check that your hosting provider’s nameservers are online and that your domain’s DNS records (A, CNAME, MX) are properly configured.

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

Public resolvers (Google, Cloudflare) are generally faster and more reliable than ISP DNS. They also offer better privacy and security. Use a public resolver unless your ISP explicitly requires their DNS for network services or parental controls.

Q: How do I test DNS resolution from a different location or ISP?

Use online DNS checkers like MXToolbox, DNS Checker, or Google’s Dig tool. These services query your domain from multiple global locations, revealing whether DNS not resolving is local (your ISP/network) or global (your registrar/hosting provider). This pinpoints the root cause quickly.

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