Authoritative vs recursive DNS
You changed a DNS record and your DNS provider shows the new value, yet some visitors still receive the old one. Two kinds of server are involved. Authoritative name servers hold a domain’s records. Recursive resolvers fetch those records on behalf of users and may answer from cache, so what a user receives is not necessarily fetched directly from the authoritative server.
The path a DNS query takes
The stub resolver on your device asks a recursive resolver. If the resolver has no cached answer, it follows the delegation from one zone to the next until it reaches the authoritative name server for the name. It then keeps the answer for up to the record’s TTL. The TTL, the record type and the response code together explain where a result came from and how long it can remain usable.
What NXDOMAIN, SERVFAIL and REFUSED tell you
These are different conditions. NXDOMAIN means the name does not exist. SERVFAIL means the resolver could not obtain a usable answer, for example because the authoritative servers did not respond. REFUSED means the server declined to answer the query. A timeout means no response arrived at all.
Ask the authoritative server before blaming the resolver
Check the name and query type first, then the authoritative answer, then the recursive resolver you use. To check that a resolver responds at all, and how quickly, enter its IP address in the 2ip DNS response time test. If the authoritative data is correct but a resolver differs, compare the TTL with the age of the cached answer, and compare several resolvers. Clearing a local cache helps only when the stale answer is actually local. If the delegation is wrong, changing the record inside the zone may not repair the path, because resolvers are being sent to other servers.