What is the difference between a recursive resolver and an authoritative server?
IntermediateConceptDNS
Answer
An authoritative server holds the zone data and answers only for domains it is responsible for. A recursive resolver does the legwork for clients: it queries authoritative servers in sequence and caches results. Your VPC resolver, 8.8.8.8 and your corporate DNS are recursive; Route 53 hosted zones and Cloudflare DNS are authoritative.
Mixing them up leads to wrong tests: dig @ns-123.awsdns-45.org shows the truth at the source, while dig @8.8.8.8 shows what the cache believes.
More on DNS
What does DNS do and what happens when you type a URL into a browser?BeginnerWhat are the common DNS record types?BeginnerExplain the DNS resolution chain step by step with dig.IntermediateWhat is TTL in DNS and how does it affect changes?BeginnerWhat is negative caching in DNS?IntermediateWhy can't you use a CNAME at the zone apex?Beginner