Bridge CDN
On this page

What does an authoritative DNS server do?

An authoritative DNS server answers from its own copy of the zone, not from a cache. When it responds, it sets the AA (Authoritative Answer) flag in the reply. That flag tells the asker that the data came from the source rather than from someone's memory of it.

RFC 1034 requires at least two authoritative name servers per zone, and RFC 2182 recommends keeping them on separate networks so one failure can't take out both. For a zone on Bridge DNS, those are ns1.bb-ns.com, ns1.bb-ns.net and ns1.bb-ns.org. All three serve identical data. A resolver can ask any of them and get the same answer.

An authoritative nameserver also says "no" with authority. If a name doesn't exist in the zone, it returns NXDOMAIN, together with the SOA record. The SOA tells resolvers how long they may cache that negative answer (RFC 2308). That detail explains a classic puzzle: a record you just created can stay "missing" for a few minutes for anyone who asked before it existed.

How does a DNS query reach the authoritative server?

Your browser never talks to an authoritative name server directly. A recursive resolver does the walking for it:

  1. The device asks its resolver. This is usually the ISP's resolver, a company resolver or a public one like 1.1.1.1 or 8.8.8.8.
  2. The resolver checks its cache. If it already has a fresh answer, the walk stops here and the TTL decides how fresh "fresh" is.
  3. The resolver asks a root server. The root doesn't know your record. It knows who runs .com, and replies with a referral to the TLD servers.
  4. The resolver asks the TLD servers. The .com servers don't know your record either. They return the NS records for example.com, which is your delegation.
  5. The resolver asks your authoritative server. This is where the real answer comes from, with the AA flag set.
  6. The resolver caches and replies. The answer goes back to the device and stays in the resolver's cache until its TTL runs out.

Steps 3 and 4 are cached too, often for days. In practice, the resolver usually goes straight to step 5.

One edge case: if your nameservers live inside the zone they serve (say, ns1.example.com for example.com), the parent zone must also publish glue records with their IP addresses. Bridge nameservers live in their own domains, so zones on Bridge DNS need no glue.

Authoritative vs recursive DNS: the short version

People mix these up constantly because both are called "DNS servers." Recursive DNS is the asking side. Authoritative DNS is the answering side.

Authoritative DNS server Recursive resolver
Job Holds a zone and answers for it Finds answers on behalf of clients
Data source Its own zone data Other servers, then its cache
Answers for Only its zones Any domain
AA flag Set Not set
Who runs it The domain owner or their DNS host ISPs, companies, public DNS operators
On Bridge ns1.bb-ns.com/.net/.org Not offered (no public resolver)

What lives in a DNS zone?

A DNS zone is the set of records an authoritative server is responsible for. This example uses zone-file syntax from RFC 1035. The SOA values and TTLs are illustrative:

$ORIGIN example.com.
@      3600  IN  SOA   ns1.bb-ns.com. hostmaster.example.com. ( 2026113001 7200 3600 1209600 300 )
@      3600  IN  NS    ns1.bb-ns.com.
@      3600  IN  NS    ns1.bb-ns.net.
@      3600  IN  NS    ns1.bb-ns.org.
@        60  IN  A     203.0.113.10
www      60  IN  CNAME example.com.
@       120  IN  MX    10 mail.example.net.
@       120  IN  TXT   "v=spf1 include:_spf.example.net -all"

Every line has the same parts: owner name, TTL, class, type and data. The SOA and NS lines at the top belong to the apex. In Bridge DNS we create and maintain both, so you never edit them. Everything below them is yours to manage.

In the Bridge zone editor, you don't see a text file. You see your DNS records as rows, each with a name, a type, a value, a TTL and, for A and AAAA, the proxy switch. The editor checks syntax when you save, so a typo like a missing priority on an MX record never reaches the nameservers.

The zone file is also how zones move between providers. Bridge DNS accepts a pasted zone file during import, and the parser shows which lines it skipped.

How to find the authoritative DNS server for a domain

dig is the quickest tool. Ask for the NS records first:

dig example.com NS +short

Then query one of those servers directly, with recursion off, and look for aa in the flags line:

dig @ns1.bb-ns.com example.com A +norecurse
;; flags: qr aa; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

To watch the whole walk from the root down, use dig example.com A +trace. On Windows, nslookup -type=NS example.com lists the nameservers.

If the NS answer doesn't show the servers you expect, the problem is the delegation at your registrar, not the zone.

One more check is worth a minute: are all the nameservers saying the same thing? Ask each one for the SOA record and compare the serial numbers:

for ns in ns1.bb-ns.com ns1.bb-ns.net ns1.bb-ns.org; do dig @$ns example.com SOA +short; done

Identical serials mean every server has the same version of the zone. On Bridge DNS they should always match, because one publishing pipeline feeds all three. With self-hosted primary and secondary servers, a mismatch is the classic sign of a zone transfer that stopped working weeks ago. Users notice it only when they happen to land on the stale server.

Which rules apply at the zone apex?

The apex is the bare domain, example.com with nothing in front. It's the one name in every zone with fixed residents: the SOA record and the NS record set. Because a CNAME can't share a name with any other data (RFC 1034, RFC 2181), you can't put a CNAME at the apex. Most "my root domain won't point at my platform" tickets start there.

What you can put at the apex:

  • A and AAAA records, proxied or DNS-only;
  • MX and TXT records for mail and verification;
  • CAA and HTTPS records.

In Bridge DNS, a proxied A record at the apex is the usual answer when a platform asks for a CNAME. The edge answers for the bare domain and forwards traffic to wherever your site actually runs.

What does a TTL mean in an authoritative answer?

Every record an authoritative nameserver returns carries a TTL. The TTL is a promise about freshness: a resolver may reuse the answer for that many seconds without asking again. The authoritative side sets the number, and every cache downstream counts it down.

Two consequences matter in practice:

  • Cached answers normally refresh after their TTL expires. Bridge publishes saved changes at the authoritative edge within seconds. Auto TTL resolves to 60 seconds for A, AAAA, and CNAME records and 120 seconds for every other record type.
  • "Not found" is cached too. If someone looked up a name before you created it, their resolver may keep the NXDOMAIN for the negative-caching time from the SOA record (RFC 2308).

The DNS TTL guide covers how to plan TTLs around a change.

Record type reference

Bridge DNS supports 11 record types. They fall into five groups by job:

Job Record types
Pointing names at servers A, AAAA, CNAME
Mail MX, plus TXT for SPF, DKIM and DMARC
Authority and delegation SOA, NS
Security and policy CAA, TLSA, and the DNSSEC records DS, DNSKEY and RRSIG
Service discovery SRV, HTTPS, SVCB

Start with DNS record types and setup if you're unsure which type you need. The references below cover syntax, examples, limits and how each type works in Bridge.

Record Holds Reference
A IPv4 address A record
AAAA IPv6 address AAAA record
CNAME Alias to another name CNAME record
MX Mail servers with priority MX record
TXT SPF, DKIM, DMARC, verification TXT record
NS Delegation to nameservers NS record
CAA Allowed certificate authorities CAA record
SRV Service host and port SRV record
SOA Zone authority and negative-cache timer SOA record

Choosing between an alias and an address? See when to use a CNAME. See the record type overview for HTTPS, SVCB and TLSA.

How is a zone signed?

DNSSEC adds signatures to the records an authoritative server publishes. A validating resolver checks them against a chain of trust that starts at the root. A zone's private signing key signs its records. Resolvers use the corresponding DNSKEY to verify those signatures. Each signature is an RRSIG. A DS record in the parent zone links the DNSKEY to the chain of trust. If the parent has no DS, the resolver treats the zone as insecure. If a published DS does not match the zone's signing key, validation fails and the resolver returns SERVFAIL.

Three pages cover it:

Common authoritative DNS misconfigurations

Most broken domains we look at have one of these six faults. None of them shows up in the zone editor, because each is a mismatch between two places.

  1. Lame delegation. The registrar lists a nameserver that doesn't actually serve the zone. Resolvers that pick it get REFUSED or a timeout.
  2. Parent and child disagree. The NS records at the TLD differ from the NS records inside the zone. It works, until the server only one side knows about goes away.
  3. Missing glue. In-zone nameservers like ns1.example.com need glue at the parent. Without it, nobody can find them.
  4. A stale DS record. The parent still vouches for keys from your previous DNS host. Validating resolvers return SERVFAIL for every name.
  5. A CNAME next to other data. A CNAME at the apex, or a CNAME and a TXT record on the same name. Some authoritative name servers refuse the zone, others answer unpredictably.
  6. An MX pointing at a CNAME or an IP. RFC 2181 says an MX target must be a hostname with its own address records.

Bridge prevents the first three on its side: it maintains the apex NS set, and its nameservers need no glue. The last three are worth checking whenever you import a zone. When symptoms appear, start with DNS troubleshooting .

What Bridge runs for your zone

When your domain is delegated to Bridge, our authoritative DNS servers:

  • serve your zone from the edge on three nameservers in three TLDs;
  • publish each saved change within seconds;
  • maintain the apex SOA and NS records;
  • sign the zone if you turn DNSSEC on;
  • answer ANY queries with a minimal response (RFC 8482);
  • drop query floods automatically.

What we don't run: a public recursive resolver, secondary DNS (zone transfers), GeoDNS, or reverse DNS (PTR) zones.

Authoritative DNS server questions

What is an authoritative DNS server?

An authoritative DNS server stores the official records for a zone and answers queries about it from that data, with the AA flag set. Recursive resolvers ask it for the final answer after following referrals from the root and TLD servers.

What is the difference between authoritative and recursive DNS?

An authoritative server answers only for zones it holds. A recursive resolver answers for any domain by asking authoritative servers and caching the results. Your registrar's delegation points resolvers at your authoritative servers.

How do I find the authoritative DNS server for my domain?

Run dig example.com NS +short, or nslookup -type=NS example.com on Windows. The output lists the nameservers your registrar delegates to. For a zone on Bridge DNS, you'll see ns1.bb-ns.com, ns1.bb-ns.net and ns1.bb-ns.org.

Is my registrar my authoritative DNS server?

Only if your nameservers point at the registrar's DNS service. The registrar always holds the delegation, meaning the NS records in the TLD zone. The authoritative server is wherever those NS records point.

What happens if an authoritative server goes down?

Resolvers try the other authoritative name servers listed for the zone. If all of them are unreachable, resolvers keep serving cached answers until their TTLs expire, then return SERVFAIL. That's why zones use several servers in independent networks.

Does an authoritative DNS server cache answers?

No. An authoritative DNS server answers from its own zone data and doesn't keep other people's answers. Caching happens in recursive resolvers, browsers and operating systems, and each of them honours the TTL that the authoritative server put on the record.

What does the AA flag mean in dig output?

AA stands for Authoritative Answer. It's set when the reply comes from a server that holds the zone. If you query a recursive resolver, the flag is missing even when the data is correct, because the resolver is passing on what it learned.

Can a domain have more than one DNS provider at once?

Yes, but only if every listed nameserver serves identical records. Otherwise users get different answers depending on which server they hit. Bridge DNS doesn't support zone transfers, so running Bridge alongside a second provider isn't a supported setup.