An authoritative DNS server is the server that holds the official DNS records for a domain and gives the final, trusted answer for that domain. When a recursive resolver asks for your site's IP address, it follows referrals from the root and top-level domain servers until it reaches your authoritative server, which answers from its own zone data — the A, AAAA, MX, TXT and other records you configured.
Key takeaways
- Authoritative servers are the source of truth for a zone; recursive resolvers are the researchers that find the answer for clients.
- A lookup walks the hierarchy — root, then TLD, then your authoritative server — and the resolver caches the answer until its TTL expires.
- Primary servers hold the editable zone and push changes to secondaries by zone transfer; DNSSEC signs the records so answers cannot be forged.
Every time you type a website address, two very different kinds of DNS server do the work. One knows the answer. The other knows how to find it. The one that knows the answer is the authoritative DNS server.
What is an authoritative DNS server?
An authoritative DNS server is a server that holds the official DNS records for a domain and gives the final, trusted answer for that domain. It is the source of truth for the zone it serves.
Cloudflare's DNS documentation puts it this way: authoritative DNS refers to the service whose nameservers provide the final answer mapping a hostname to the IP address that hosts the corresponding content. When a recursive resolver asks for your site, your authoritative server answers from its own zone data — the records you configured.
Those records live in a zone file. For example.com, the zone holds A and AAAA records for IP addresses, MX records for mail servers, CNAME records for aliases, TXT records for verification and security policies, NS records for delegation, and an SOA record that describes the zone itself.
The server only answers for zones it is authoritative for. Ask it about a domain it does not host and it will refuse or refer you elsewhere, rather than invent an answer.
How does an authoritative DNS server work?
A lookup is a relay race. Your device asks a recursive resolver, the resolver walks the DNS hierarchy from the root down, and the authoritative server gives the final answer at the end of the chain.
- Your device asks a recursive resolver — usually your ISP's, or a public one such as 8.8.8.8 or 1.1.1.1 — for the IP of
www.example.com. - The resolver checks its cache. If it has a fresh answer, it returns it immediately. If not, it starts at the root servers.
- The root server refers it to the TLD server for
.com, which refers it to the authoritative nameservers listed in the domain's NS records. - The authoritative server answers from its zone file, and the resolver caches that answer for the record's TTL, then passes it to your device.
The whole chain usually takes milliseconds. It only feels instant because the resolver does the walking so your device does not have to.
Authoritative vs recursive DNS: what's the difference?
Authoritative and recursive servers are complementary roles, and confusing them is one of the most common DNS mistakes. One holds the data; the other does the fetching.
| Authoritative DNS server | Recursive resolver | |
|---|---|---|
| Job | Answers from its own zone data | Finds answers on behalf of clients |
| Holds domain records? | Yes — the source of truth | No — it caches answers it fetched |
| Who uses it | Resolvers asking about your domain | Your devices, browsers and apps |
| Configured by | The domain owner or DNS provider | The ISP, employer or user |
| Examples | Cloudflare, Route 53, your registrar's nameservers | 8.8.8.8, 1.1.1.1, your ISP's resolver |
| If it goes down | Your domain stops resolving for everyone | Only its own users lose lookups |
Cisco Umbrella's analogy is useful: authoritative nameservers are like the company that publishes the phone book, while a recursive server is like someone who uses the phone book to look up a number. The publisher decides what is in the book; the lookup service just finds it. DigiCert's explainer makes the same point: the authoritative server always holds the most up-to-date information and provides the final answer, while the resolver has to fetch it.
A single server can be configured to do both jobs, but public providers keep them separate. DNSimple, for example, notes that its nameservers are authoritative only: a query for a zone they do not host gets a REFUSED response, so they cannot be used as a recursive resolver.
What types of authoritative DNS servers are there?
Authoritative servers come in several roles that describe how the zone is managed, not different kinds of answers. The main split is primary versus secondary, with a few deployment patterns on top.
Primary (master) authoritative server
The primary server holds the editable copy of the zone. Changes are made here — a new A record, a rotated DKIM key, a changed MX — and the zone's SOA serial number increases with each change.
Secondary (slave) authoritative server
Secondary servers hold read-only copies received from the primary by zone transfer. A full transfer (AXFR, defined in RFC 1034 and 1035) sends the whole zone; an incremental transfer (IXFR, RFC 1995) sends only the records that changed since the secondary's serial. The primary sends a NOTIFY (RFC 1996) when the zone changes so secondaries fetch promptly.
Secondaries exist for redundancy: if the primary goes down, they keep answering. Cloudflare describes the common patterns as passive backup, active backup, and hidden primary, where only the secondaries appear in the public NS records.
Anycast authoritative servers
Large providers run many physical servers behind one IP address using anycast routing, so queries reach the nearest location. Your domain's NS records may list only two names, but each one is answered by dozens of servers worldwide — which is why a big provider's outage is rare but widely felt.
What records does an authoritative server hold?
The zone file is the authoritative server's entire job. Each record type answers a different question about the domain.
| Record | Answers | Example use |
|---|---|---|
| A / AAAA | IPv4 / IPv6 address | Where the website lives |
| CNAME | Alias to another name | www pointing at the apex |
| MX | Mail servers | Where email for the domain goes |
| TXT | Arbitrary text | SPF, DKIM, DMARC, verification |
| NS | Authoritative nameservers | Delegation of the zone |
| SOA | Zone metadata | Serial, refresh, expiry, admin contact |
| CAA | Which CAs may issue certificates | Blocking unauthorized TLS certificates |
| DNSKEY / DS | DNSSEC keys | Proving records are authentic |
The TXT records matter most for security: SPF, DKIM and DMARC all live there, and a wrong entry can break email delivery or leave the domain open to spoofing. Our guide to what DMARC is explains how those three work together, and you can check your own records with the free DNS lookup tool.
How do I find my domain's authoritative DNS server?
Finding your authoritative servers takes seconds, and it is the first step in almost every DNS troubleshooting job.
- Look up the NS records for your domain with a DNS lookup tool or
dig NS example.com. The names listed are your authoritative nameservers. - Check the registrar. The NS records at your registrar are the delegation — they decide which servers the rest of the internet asks. If they point somewhere unexpected, that is where your DNS is actually served from.
- Query one directly with
dig @ns1.example.net example.com A. If it answers with the AA (authoritative answer) flag set, it is authoritative for the zone. - Compare the answers. Query each nameserver in the set: they should all return the same records. A mismatch usually means a secondary has not received a zone transfer.
If your domain's NS records point at your registrar but you edit records at Cloudflare, the edits will never go live — the internet asks the registrar's servers, not Cloudflare's. That mismatch is one of the most common causes of "I changed the record but nothing happened."
How do you secure an authoritative DNS server?
An authoritative server is a high-value target: whoever controls it controls where every visitor and every email for the domain goes. The main protections are DNSSEC, transfer controls and registrar security.
Enable DNSSEC. Without it, DNS responses can be spoofed — an attacker returns a forged response and redirects visitors to a malicious site. DNSSEC adds cryptographic signatures to records so resolvers can verify they came from the correct server, as Cloudflare's DNSSEC documentation explains.
Restrict zone transfers. AXFR was designed before authentication existed, so an open transfer lets anyone download your entire zone — every hostname, including internal ones. Allow transfers only to known secondaries, and use TSIG for authentication.
Lock the registrar account. Most DNS hijacks start at the registrar, not the nameserver: an attacker changes the NS delegation and the whole internet follows. Use strong MFA, a transfer lock and, for important domains, a registry lock.
Run at least two nameservers on different networks. RFC 2182 recommends secondary servers on separate networks so a single network failure cannot take the domain offline.
Why is my DNS change not showing up?
The authoritative server almost always updates immediately — the delay is caching. Here is how to tell which layer is holding the old value.
- Query the authoritative server directly. If it returns the new record, your change is live and the problem is caching elsewhere.
- Check the TTL. Resolvers cache answers for the record's TTL. A record with a 24-hour TTL can take a full day to update everywhere.
- Check the old TTL before changing. Lower the TTL to 300 seconds a day before a planned migration, then raise it again after.
- Check for a stale secondary. If one nameserver returns the old record, its zone transfer may have failed — check the SOA serial on each server.
- Check the delegation. If the registrar's NS records point at the wrong provider, no edit at the right provider will ever be seen.
The bottom line
An authoritative DNS server is the final word on where a domain points. Recursive resolvers do the searching; authoritative servers hold the records, answer from the zone file, and sign those answers with DNSSEC so they can be trusted.
Know which servers are authoritative for your domains, keep their zone transfers locked down, and enable DNSSEC. You can see your own domain's nameservers and records in seconds with the free DNS lookup tool.
Frequently asked questions
What is an authoritative DNS server in simple terms?
It is the server that holds the official address book for a domain. When anyone asks where example.com lives, the authoritative server for that domain is the one whose answer counts. It stores the records the domain owner configured, such as the IP address, mail servers and security records.
What is the difference between authoritative and recursive DNS?
An authoritative server holds records for a zone and answers from its own data. A recursive resolver holds no domain's records itself; it asks other servers on behalf of a client, following referrals until it reaches the authoritative server, then returns the final answer and caches it.
How do I find my domain's authoritative DNS server?
Look up the NS records for your domain with a DNS lookup tool or the dig command, for example dig NS example.com. The names listed are your authoritative nameservers. You can also check which nameservers your registrar has delegated the domain to.
What is a primary vs secondary authoritative server?
The primary server holds the editable copy of the zone, where changes are made. Secondary servers hold read-only copies received by zone transfer (AXFR for a full copy, IXFR for changes only) after the primary sends a NOTIFY. Both answer queries, so the service survives if one fails.
What DNS records does an authoritative server hold?
It holds the zone file for the domain: A and AAAA records for IP addresses, MX for mail, CNAME for aliases, TXT for verification and security records such as SPF, DKIM and DMARC, NS for delegation, and the SOA record that describes the zone itself.
Can an authoritative DNS server be hacked?
Yes, and the impact is severe: an attacker who controls it can redirect all traffic for the domain. Protect it with strong authentication, DNSSEC signing, restricted zone transfers, and by keeping the registrar account locked with multi-factor authentication.
What is DNS propagation and why does it take time?
Propagation is not the authoritative server updating — that happens immediately. It is the delay while recursive resolvers around the world keep serving the old cached answer until its TTL expires. Lowering the TTL before a planned change shortens that window.
Is Cloudflare an authoritative DNS provider?
Yes. Cloudflare DNS is an authoritative DNS service: its nameservers hold the definitive records for domains that use it and provide the final answer in resolution. It also offers secondary DNS, where Cloudflare receives zone transfers from another primary provider.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against Cloudflare's DNS documentation, Cisco Umbrella and DigiCert's DNS explainers, and RFCs 1034, 1035 and 1995.
How we write and fact-check →