During a registrar handoff or DNS provider move, a domain can look correct in the registration system while resolvers still follow older nameservers. Compare the registration-side delegation record with the DNS NS answers before changing zone records or troubleshooting the wrong service.
Registration data now usually means RDAP first for gTLDs, with legacy WHOIS still useful when the registry publishes it or when a local tool follows the right referral. The nameserver set in that record shows what the registry has on file, while DNS queries show what resolvers, parent servers, and authoritative servers return for the same zone.
Case, order, and trailing dots do not change a nameserver name. A mismatch is a missing, extra, or different hostname after normalization, and the next check should identify whether the difference sits at the registry, parent delegation, recursive resolver cache, or authoritative DNS server.
Tool: DNS Glue & Delegation Check
Tool: WHOIS / RDAP Lookup
Related: How to check domain nameservers with whois
Related: How to query a domain with whois
$ whois -h whois.verisign-grs.com example.com Domain Name: EXAMPLE.COM ##### snipped ##### Name Server: ELLIOTT.NS.CLOUDFLARE.COM Name Server: HERA.NS.CLOUDFLARE.COM DNSSEC: signedDelegation
Plain whois example.com may return only a thin IANA object on some systems. Use RDAP or the TLD registry WHOIS server when the first response does not show domain nameservers.
Related: How to query RDAP for a domain
Related: How to find a TLD WHOIS server
$ dig +short NS example.com hera.ns.cloudflare.com. elliott.ns.cloudflare.com.
Resolver output may use lowercase names, include trailing dots, and return the names in a different order from the registration record.
Treat ELLIOTT.NS.CLOUDFLARE.COM and elliott.ns.cloudflare.com. as the same hostname. Only missing, extra, or different hostnames are delegation mismatches.
$ dig +norecurse @a.gtld-servers.net NS example.com ##### snipped ##### ;; AUTHORITY SECTION: example.com. 172800 IN NS hera.ns.cloudflare.com. example.com. 172800 IN NS elliott.ns.cloudflare.com. ##### snipped #####
For another TLD, replace a.gtld-servers.net with an authoritative server for that parent zone.
$ dig +short SOA example.com @hera.ns.cloudflare.com elliott.ns.cloudflare.com. dns.cloudflare.com. 2405749864 10000 2400 604800 1800
A matching NS set does not prove the zone is serving records. A timeout, SERVFAIL, or missing SOA from a delegated nameserver points at authoritative DNS rather than registration data.
Matching registration, recursive, parent, and authoritative checks means delegation is aligned. Registration versus parent mismatches point at registrar or registry state, parent versus resolver mismatches point at cache or propagation timing, and matching NS answers with a failed SOA point at the authoritative DNS service.