[ DNS & domains ]

Move authoritative DNS without dropping authentication records

Move DNS authority with a verified record inventory, a coordinated DNSSEC plan and an overlap period that protects mail dependencies.

By the EmailAuth research team

[ Key points ]

  • Inventory exact records and dependencies before changing delegation.
  • Coordinate parent DS and child keys through the supported DNSSEC transition.
  • Keep old service available until tested cache and operational conditions allow retirement.
On this page

Moving authoritative DNS changes where resolvers obtain the domain's data. A successful nameserver change does not prove that SPF, DKIM, DMARC or receiving routes survived. Preserve the effective records and dependencies before changing delegation, and keep both old and new service available while caches can use either.

Inventory the effective zone

References: RFC 1034 §4.2, RFC 1035 §3.3.14, RFC 6376 §3.1.

Identify the current parent delegation and all authoritative servers. Obtain an authorized export or API inventory from the actual DNS host. An ordinary query cannot enumerate every possible DKIM selector, so combine the export with sending-service configuration and recent signed-message headers. Include apex SPF, DMARC, active and retiring selectors, custom return-path records, MX, their address dependencies, and transport-policy records where deployed.

Record exact owner names, types, TTLs and values. Preserve TXT resource-record boundaries and string fragments. Inventory aliases and child delegations rather than copying only the terminal value seen by a recursive lookup. Provider features such as flattening or managed records need an explicit equivalent at the destination; they may not survive a basic zone-file export.

Build the destination before switching

References: RFC 4034 §5, RFC 4035 §2.4.

Import the reviewed data into the destination, inspect the diff and query each new authoritative server directly. Its SOA and apex NS values may intentionally differ from the old provider; authentication data should differ only where the migration plan explicitly authorizes a change. Check that relative-name input did not duplicate the zone suffix.

For signed zones, coordinate the parent DS and child DNSKEY transition with the providers' supported migration procedure. Copying ordinary records without coordinating DNSSEC can make a validating resolver reject otherwise visible data. Do not delete the DS or disable validation as an improvised default. Determine the exact continuity or transition procedure before scheduling the move.

Reproduce a missing-selector failure

Use an isolated lab zone named example.test. The old authority has example.test. 300 IN TXT "v=spf1 -all", _dmarc.example.test. 300 IN TXT "v=DMARC1; p=none" and s1._domainkey.example.test. 300 IN TXT "fixture=selector-present". The last value is a marker, not a DKIM key. Prepare a destination copy that deliberately omits s1.

Run dig @OLD_IP s1._domainkey.example.test. TXT +norecurse and dig @NEW_IP s1._domainkey.example.test. TXT +norecurse, substituting lab server addresses. The expected comparison identifies the missing marker at the new authority. Restore it, repeat all exact owner/type queries and retain the before-and-after answers. This fixture tests inventory completeness, not a valid DKIM signature.

Switch and observe both paths

References: RFC 1034 §4.2, RFC 2308 §5, RFC 8767 §4.

Lower applicable TTLs sufficiently in advance if the supported plan calls for it; old cached TTLs are not shortened retroactively. RFC 8767 also permits bounded stale serving under specified refresh-failure conditions, so a TTL is not a universal disappearance deadline. Update the parent delegation through the authorized registration workflow, then observe parent referrals and recursive resolution as well as direct new-server answers. Delegation, positive answers and negative answers can have different caching histories.

Retain the old DNS service until the migration's relevant cache and operational conditions have cleared. A rollback is another distributed change, not an instantaneous undo. Close only after records agree, validating resolution works where applicable, and representative legitimate mail paths have been tested. Production migration and mail tests remain pending. The retained historical fixture below supplies a bounded DNS preservation example.

Retained historical lab evidence

The retained 7 November 2026 capture, inspected but not rerun here, records that the isolated socket lab queried the old and new fixed-zone authorities for s1._domainkey.example.test. The destination initially returned NXDOMAIN, while the old authority returned the marker. After the synthetic addition described in the historical runner, the destination returned the marker. The retained capture preserves the exact query names and before/after answers for this narrow record-preservation case; it is not a customer migration plan or approval. The capture labels are migration_missing_s1; migration_old_s1; migration_after_repair. The historical runner and raw capture are included in this review package; their presence is not a new execution claim. Production DNS, DNSSEC and SMTP outcomes remain untested.

[ Takeaway ]

Keep old service available until tested cache and operational conditions allow retirement.

[ By role ]

What this means for you

Choose your role for practical next steps.

IT / Mail Admin

Compare the full dependency inventory

A successful import may still omit selectors or managed records.

Next steps

  1. Export actual zone data.
  2. Query each destination authority.
  3. Test DNSSEC and representative mail paths.

CISO / SecOps

Preserve the trust chain

A DNSSEC mismatch can turn an ordinary migration into an outage.

Next steps

  1. Review DS and DNSKEY coordination.
  2. Restrict delegation changes.
  3. Retain exact approved differences.

Founder / Non-technical

Fund an overlap period

DNS migration is a continuity change for every sending service.

Next steps

  1. Name the migration owner.
  2. Retain old-provider access.
  3. Approve explicit closure criteria.

[ FAQs ]

Frequently asked questions

Can I discover every DKIM selector with one TXT lookup?

No. Use service configuration, an authorized zone inventory and signed-message headers.

RFC 6376 §3.1

Should the new SOA be identical?

Not necessarily. Provider-specific authority metadata may intentionally change.

RFC 1035 §3.3.13

Does a lower TTL clear old answers?

No. Previously cached answers retain their prior expiry behavior.

RFC 8767 §4

Can I cancel the old DNS service immediately?

Keep it available through the reviewed overlap period and verify the transition first.

What can a forgotten selector break?

Receivers may be unable to obtain the key needed to verify that signature.

RFC 6376 §3.6

Is copying DS into the child zone enough?

No. DS belongs in the parent trust chain; coordinate it with the child keys.

RFC 4034 §5 RFC 4035 §2.4

Does an imported zone prove the move succeeded?

No. Query every authority and verify the public delegation and resolver path.

Does this fixture verify DKIM?

No. Its marker tests record preservation; signed-message testing is separate.

[ Sources ]

Sources

  1. RFC 1034

    Sections §4.2

  2. RFC 1035

    Sections §3.3.13 · §3.3.14

  3. RFC 2308

    Sections §5

  4. RFC 4034

    Sections §5

  5. RFC 4035

    Sections §2.4

  6. RFC 6376

    Sections §3.1 · §3.6

  7. RFC 8767

    Sections §4

  8. BIND 9 dig manual

    Sections Simple Usage · Query Options

[ Glossary ]

Glossary

Delegation
Parent-zone data directing resolution to authoritative servers for a child zone.

RFC 1034 §4.2

DS
A parent-zone Delegation Signer record identifying a child DNSKEY for authentication across the delegation.

RFC 4034 §5

Selector
The DKIM identifier used with the signing domain to locate a public key.

RFC 6376 §3.1

Enterprise provenance

Why top financial institutions and governments retired their email security dashboards.

Traditional email authentication platforms sell you a dashboard and ask your engineers to do the labour. In high-stakes environments, manual oversight means delayed enforcement, configuration drift and unmonitored shadow domains.

EmailAuth is the agentic email provenance platform. Our agents enforce p=reject, keep third-party senders aligned and move your domains to full RFC 9989 compliance, the new DMARC standard,, with human-in-the-loop auditability.

Governments Large enterprises Tier-1 financial institutions

SaaS · Dedicated tenancy · Air-gapped on-prem · BYOK encryption

Knowledge Base