What is negative caching in DNS?
IntermediateConceptDNS
Answer
Resolvers also cache failures. An NXDOMAIN (name does not exist) or NODATA answer is cached for the SOA record's minimum/negative TTL value. If you query a name before creating it, clients may keep seeing NXDOMAIN after you add the record.
This is a classic cause of "I created the record but it does not resolve". Check the SOA minimum with dig SOA example.com and wait, or flush caches.
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?BeginnerWhat is the difference between a recursive resolver and an authoritative server?IntermediateExplain the DNS resolution chain step by step with dig.IntermediateWhat is TTL in DNS and how does it affect changes?BeginnerWhy can't you use a CNAME at the zone apex?Beginner