CertaDNS
Skip to lesson

Authoritative Resilience · lesson 2 of 2

Running two

After this lesson you can

Say what must stay synchronised across two providers, and what DNSSEC adds to that.

Assumes you have read One provider is one outage.

Two authoritative providers means one delegation naming servers at both, answering identically. The work is not in the delegation — it is in keeping them identical, and DNSSEC makes that considerably harder.

Two models

Primary/secondary transferIndependent push
How the second provider gets the zoneAXFR/IXFR from the first, driven by NOTIFYBoth are written to by your tooling from one source of truth
SetupSimpler — one provider is told to pullMore work, needs an API on both sides
If provider A is downB keeps serving its last copy, and stops receiving updatesB is unaffected and still writable
DNSSECStraightforward — A signs, B transfers signed recordsHard. Both must sign, or neither.

What must stay in sync

  • Every record. Obvious, and the one that drifts when somebody makes an emergency change in one provider’s console.
  • The NS RRset inside the zone, which must list every nameserver at both providers and must match the delegation at the parent.
  • The SOA serial, or secondaries will not know an update happened.
  • TTLs, so behaviour does not depend on which provider answered.

DNSSEC across two providers

A resolver may reach either provider for any query, so every answer from both must validate against the same published DS. There are two ways to arrange that.

Model 1 — one signer
  Provider A signs. Provider B receives signed records
  by zone transfer and serves them unchanged.
  Simple. B cannot serve anything A has not signed,
  including synthesised denial.

Model 2 — multi-signer (RFC 8901)
  Both providers sign, each with its own ZSK.
  The DNSKEY RRset at both must contain BOTH ZSKs.
  Every key rollover at either provider requires the
  other to be updated.
  Complex, and the only option when both providers
  insist on holding their own keys.

Model 1 is what most organisations should do. Model 2 exists because some managed providers will not serve records they did not sign, and it is a genuinely demanding arrangement to operate.

The failure mode is worse than no redundancy

Two providers that have drifted apart serve different answers to different users, and which answer you get depends on which nameserver a resolver happened to pick. Under DNSSEC, a record signed by a key the other provider does not publish is bogus rather than merely different — so a botched multi-signer setup produces intermittent SERVFAIL, which is harder to diagnose than an outage.

Knowledge check

You add a second DNS provider and configure it as a secondary receiving AXFR from the first. What still has to be updated?

Try it on a real domain

Free, no account, public DNS only.

Last reviewed