Skip to content

DNS Deep Dive


DNS Overview

DNS Hierarchy


DNS Resolution Process

DNS Resolution Flow


DNS Record Types

DNS Record Types


TTL (Time To Live)

TTL (Time To Live)


DNS Caching Layers

DNS Caching Layers


DNS Load Balancing

DNS Load Balancing


DNS Security

DNS Security


DNS for Microservices

DNS in Microservices


DNS Troubleshooting

DNS Troubleshooting


AWS Route 53

AWS Route 53


Interview Questions

  1. How does DNS resolution work?
  2. Browser → OS → Recursive Resolver → Root → TLD → Authoritative
  3. Caching at each level with TTL

  4. CNAME vs A record?

  5. A: Points directly to IP
  6. CNAME: Alias to another domain
  7. CNAME not allowed at zone apex

  8. How to handle DNS failover?

  9. Health checks on primary
  10. Low TTL for quick propagation
  11. Secondary record activated on primary failure

  12. What is TTL and how do you choose it?

  13. Cache duration
  14. Low TTL: Fast changes, more queries
  15. High TTL: Fewer queries, slow changes
  16. Lower TTL before migrations

  17. How does DNS load balancing work?

  18. Round robin: Multiple A records
  19. Geo: Different IPs by location
  20. Limitations: Client caching, no health awareness

  21. DNS propagation delay causes?

  22. TTL of old record
  23. Multiple caching layers
  24. Resolver compliance varies

  • *