What Is Secondary DNS and Why Should You Run One?
If your only DNS provider goes down, your domain becomes unreachable. Mail, websites, and APIs all run into nothing. A secondary DNS prevents that, and we’ll show you what it does for you and how to set it up.
What are primary DNS and secondary DNS?
Every domain has a zone, meaning the collection of all its DNS records. This DNS zone rarely sits on just one server. In most cases, several servers hold a copy:
The primary owns the original. Every zone has exactly one primary DNS server. This is where you create and change your DNS records.
The secondary holds a copy of the zone file. It pulls that copy from the primary via zone transfer (AXFR), as described in RFC 5936 on DNS zone transfer. It answers queries authoritatively, meaning with full responsibility for the zone. A zone can have any number of secondary DNS servers.
The SOA record (start of authority) holds the serial number of your zone. When that serial number goes up, the primary sends a NOTIFY. The secondary then pulls the new version.
A secondary name server is not a backup that only steps in during an outage. All name servers appear as NS records for the domain, and DNS resolvers use them equally. Each one returns the same answer. The only difference: the secondary gets its zone data from the primary via zone transfer.

For the basics of how DNS works, read our article What is DNS? The Domain Name System explained.
Why a name server at a second provider makes sense
If you manage your domain with us, your zones run on three name servers. They sit in our global Anycast network with 66 nodes across three autonomous systems. So the network is built to keep your services running even when individual name servers fail.
Still, all three name servers run at one provider. They share the same software, the same routing, and the same account. If a problem hits that shared layer, none of the three will answer. Your domain then becomes unreachable.
Your own secondary separates these dependencies and adds resilience. Resolvers spread their DNS queries across all name servers of your domain anyway. If one goes down, the others keep answering.
Benefits of a secondary DNS server
Independence from your provider: Several name servers at one provider share operations, software stack, and configuration. A server in your own infrastructure brings provider diversity. Even if one provider fails completely, your domain stays reachable.
Load balancing: Resolvers don’t query a single primary; they use all authoritative name servers. This spreads the DNS traffic, so individual servers carry less load and answer faster.
An always current copy of your zone: Your secondary holds the complete, up-to-date state of your zone at all times. That’s an automatic backup without any manual export. During a migration or in an emergency, every record is right there.
Internal resolution without the detour: Run the secondary in your company network or data center, and your internal resolvers answer the zone locally. That saves latency and keeps working even when your connection to the outside world is down.
Full transparency: On your own server you see query logs, statistics, and transfer events. This lets you spot unusual query patterns and trace changes to your DNS configuration.
Compliance and contingency planning: Many companies have to prove that critical services have no single point of failure. Internal policies often require measures that keep operations running, too. Your own secondary is easy to document for this.
How to set up secondary DNS with us
On this route we’re your primary and you set up your own secondary DNS.
Zone first, transfer second: the zone file import
For us to act as primary, you have to move your zone to us. If you’ve kept it elsewhere so far, export it at your old provider first. Then import it into your INWX account as a zone file in BIND format. That format is described in RFC 1035 with the zone file specification. We read in every record and create it for you, so you don’t have to type them one by one.
Especially with zones that hold many entries, this saves time and typos. Still, check your records and TTLs against the original after the import.
Pay attention to the SOA record, too: the import replaces it with a new one, carrying your default name server, your hostmaster, and the serial number YYYYMMDD01 from the day of the import. If your old serial number was higher, raise it. Otherwise your secondary won’t pull any updates. The import takes the NS records at the zone apex straight from your file. So adjust them if they still point to your old provider. Without NS records, the import fails.
No key, no transfer: how TSIG protects your zone
A zone transfer moves your complete zone between the two servers. That’s a map of your infrastructure with mail servers, subdomains, and internal host names. Without protection, anyone who knows the address can pull the zone. That’s why we block transfers by default.
To transfer the data securely, you release the zone specifically via TSIG (transaction signature). Both sides share a secret key, and every transfer is signed with it. Only servers with the right key may request the zone. This is defined by the standard RFC 8945 on TSIG.
TSIG doesn’t encrypt anything. It only proves the sender and the integrity of the data. That way it secures the channel between your servers.
Five steps to your secondary: the overview
- Create the zone with us or import it.
- Create a TSIG key and assign it to the zone.
- Enter the same key and our name server as primary on your server.
- Add your server as an additional name server in the zone and for the domain.
- Test the transfer. A request without the key has to fail.
If you run several secondaries, a separate key per server pays off. Then you can block one access without touching the others.
The alternative: you run your primary DNS yourself; we’re the secondary
You keep your zones on your own name servers, with BIND, PowerDNS or Knot for example, and you’d like to keep it that way? Then you stay primary, and we become secondary. We pull the copy via zone transfer and answer queries across our Anycast network.
This needs no new infrastructure from you, just a second layer on top. It pays off above all with a hidden primary. That’s an internal master nobody sees from the outside. Only the secondaries answer publicly, and your primary stays protected from direct access.
Our FAQ explains step-by-step how to set up secondary DNS with us.
For an overview of all our DNS services, visit the page Anycast DNS at INWX.

Katrin Hrubesch
Katrin, with her previous experience in web development, understands the many facets of the internet—from domains to websites and digital strategies. Since 2024, she has been a part of the INWX team and sharing her knowledge of web technologies, domains, and current industry trends on our blog.