5-Step DNS Diagnostic Process
1
Identify the Problem
Gather specific error messages, symptoms, and affected services
- Document exact error messages
- Note when the issue started
- Identify affected domains/subdomains
2
Check DNS Records
Verify that all necessary DNS records are properly configured
- Use dig or nslookup to check records
- Verify record syntax and values
- Check from multiple DNS servers
3
Test Propagation
Ensure DNS changes have propagated globally
- Use online propagation checkers
- Test from different geographic locations
- Check with multiple DNS resolvers
4
Validate Configuration
Ensure nameservers and zone files are correctly configured
- Verify nameserver delegation
- Check zone file syntax
- Confirm SOA record parameters
5
Monitor and Test
Implement monitoring and perform comprehensive testing
- Set up DNS monitoring alerts
- Test from end-user perspective
- Document resolution for future reference
Common DNS Issues & Solutions
DNS Propagation Delays
Symptoms
- • Changes not visible globally
- • Inconsistent results from different locations
- • Old records still resolving
Common Causes
- • High TTL values
- • ISP DNS caching
- • CDN edge caching
Solutions
- • Wait for TTL expiration (check original TTL)
- • Use different DNS resolvers for testing
- • Clear local DNS cache
- • Use DNS propagation checker tools
Diagnostic Commands
nslookup domain.com 8.8.8.8
dig @1.1.1.1 domain.com
ipconfig /flushdns (Windows)
sudo dscacheutil -flushcache (macOS)
Website Not Loading
Symptoms
- • Domain not found errors
- • Connection timeouts
- • Intermittent loading issues
Common Causes
- • Missing A/AAAA records
- • Incorrect DNS configuration
- • Server downtime
Solutions
- • Verify A and AAAA records exist
- • Check nameserver configuration
- • Test with direct IP access
- • Verify server is responding
Diagnostic Commands
nslookup domain.com
dig domain.com A
ping domain.com
traceroute domain.com
Email Delivery Problems
Symptoms
- • Emails bouncing back
- • Emails going to spam
- • Cannot send emails
Common Causes
- • Missing/incorrect MX records
- • No SPF record
- • Missing DKIM/DMARC
Solutions
- • Verify MX records are configured
- • Add SPF record for sender validation
- • Configure DKIM and DMARC
- • Check reverse DNS (PTR) records
Diagnostic Commands
dig domain.com MX
dig domain.com TXT (check SPF)
nslookup -type=mx domain.com
dig 1.2.3.4.in-addr.arpa PTR
Subdomain Resolution Issues
Symptoms
- • Subdomain not found
- • www not working
- • Wildcard issues
Common Causes
- • Missing CNAME/A records
- • Incorrect delegation
- • Wildcard misconfiguration
Solutions
- • Add appropriate CNAME or A records
- • Verify subdomain delegation
- • Check wildcard record syntax
- • Test with different record types
Diagnostic Commands
dig subdomain.domain.com
nslookup www.domain.com
dig *.domain.com
dig subdomain.domain.com NS
DNSSEC Validation Failures
Symptoms
- • DNSSEC validation errors
- • SERVFAIL responses
- • Security warnings
Common Causes
- • Broken DNSSEC chain
- • Expired signatures
- • Clock synchronization
Solutions
- • Check DNSSEC chain integrity
- • Verify signature expiration dates
- • Ensure proper key rollover
- • Check server time synchronization
Diagnostic Commands
dig domain.com +dnssec
dig domain.com DNSKEY
dig domain.com DS
delv domain.com
Slow DNS Resolution
Symptoms
- • Long page load times
- • DNS lookup timeouts
- • High latency
Common Causes
- • Slow DNS servers
- • Network issues
- • Heavy DNS load
Solutions
- • Switch to faster DNS resolvers
- • Use DNS performance monitoring
- • Implement DNS caching
- • Optimize TTL values
Diagnostic Commands
dig domain.com +trace
nslookup -debug domain.com
time dig domain.com
ping nameserver.com
Essential DNS Diagnostic Tools
dig
Powerful DNS lookup tool with detailed output
Example Commands:
dig domain.com
dig @8.8.8.8 domain.com MX
dig +trace domain.com
nslookup
Interactive DNS lookup tool available on most systems
Example Commands:
nslookup domain.com
nslookup -type=mx domain.com
nslookup domain.com 1.1.1.1
host
Simple DNS lookup utility (Linux/macOS)
Example Commands:
host domain.com
host -t mx domain.com
host -a domain.com
ping
Test basic connectivity and DNS resolution
Example Commands:
ping domain.com
ping -c 4 domain.com
ping6 domain.com
traceroute
Trace network path to destination
Example Commands:
traceroute domain.com
tracepath domain.com
mtr domain.com
whois
Check domain registration and nameserver information
Example Commands:
whois domain.com
whois -h whois.iana.org domain.com
Quick Reference Commands
DNS Cache Management
Windows:
ipconfig /flushdns
macOS:
sudo dscacheutil -flushcache
Linux:
sudo systemctl restart systemd-resolved
Testing Different Resolvers
Cloudflare:
dig @1.1.1.1 domain.com
Google:
dig @8.8.8.8 domain.com
Quad9:
dig @9.9.9.9 domain.com
Test Your DNS Configuration
Use our DNS diagnostic tools to identify and resolve DNS issues across your domains and services.