How DNS Time Machine works
Never lose track of DNS updates. Capture live snapshots, visualize changes with color-coded diffs, and download a complete BIND .zone backup file ready to restore during outages.
Enter your domain name and capture live records.
Click Save Snapshot to create a historical baseline.
View color-coded diffs (+ Added, - Removed) and export the standard BIND zone file.
Troubleshooting & Remediation
How to Read & Fix Results
How to read the result
- ProblemVisual diff flags unexpected removal (-) of apex A/AAAA, MX, or TXT (SPF/DKIM/DMARC) records, or an unintended target IP change after a cutover.
- WarningNo baseline snapshot exists yet in browser storage, or records changed only due to expected CDN rotation.
- PassLive A, AAAA, MX, TXT, CNAME, and NS records match your saved pre-migration snapshot with zero unexpected modifications.
How to fix issues
- Capture a live snapshot and download the .zone file before editing production DNS or switching nameservers.
- Immediately after applying DNS changes, run Capture Snapshot again and review every + Added and - Removed diff row.
- If an outage occurs, import the saved RFC 1035 BIND .zone file into Cloudflare, Route 53, or BIND9 (bumping the SOA serial if managing primary zones manually).
- Confirm worldwide convergence across recursive caches after restoring records.
Common mistakes to avoid
- Restoring a raw BIND zone file on self-hosted primary nameservers without incrementing the SOA serial (YYYYMMDDnn), causing secondaries to ignore the rollback.
- Relying solely on browser localStorage without downloading the .zone file for shared team incident runbooks.
- Omitting trailing dots on external hostnames in BIND files (e.g. mail.example.net instead of mail.example.net.), which appends $ORIGIN twice.
- Assuming apex snapshots include arbitrary subdomains; export provider-side zone files for wildcard or deep subdomain inventories.
RFC 1035 BIND Master Zone Backup
$ORIGIN example.com. $TTL 300 @ 300 IN A 203.0.113.10 @ 300 IN MX 10 mail.example.com. @ 300 IN TXT "v=spf1 include:_spf.google.com ~all"
Queries live apex A, AAAA, MX, TXT, CNAME, and NS records via our DNS API, stores historical baselines in your browser localStorage, and generates RFC 1035 BIND .zone files. Subdomains and DNSSEC DS keys are not exported automatically.
Next checks:Check global propagationRun full DNS lookupDNS records cheat sheet
Specifications & Scope
About DNS Time Machine
- 01 / What it does
- Never lose track of DNS updates. Capture live snapshots, visualize changes with color-coded diffs, and download a complete BIND .zone backup file ready to restore during outages.
- 02 / How to use
- 1. Enter your domain name and capture live records. 2. Click Save Snapshot to create a historical baseline. 3. View color-coded diffs (+ Added, - Removed) and export the standard BIND zone file.
- 03 / Good to know
- Export a BIND zone file before executing major domain migrations or nameserver changes so you can restore your original routing within seconds if anything breaks.
Got Questions?
Frequently Asked Questions
Knowledge Base
Technical Guides & Reference
Explore More
More in Domain & Email
Tool Details & Usage Guide
RFC specifications, input expectations, outputs, and edge limitations.
Why DNS Backups Must Exist Before Cutover
DNS providers do not keep universal, cross-vendor “undo” buttons when you migrate nameservers, update MX routing, or bulk-import Terraform modules. A deleted TXT verification record, overwritten @ A record, or typo in an MX priority takes production traffic and email offline across every recursive resolver as soon as the existing TTL expires.
The DNS Time Machine & Rollback tool queries live apex records (A, AAAA, MX, TXT, CNAME, NS), records historical snapshots in browser localStorage, highlights additions (+) and deletions (-) in a git-style diff, and exports a standard RFC 1035 BIND master zone file (.zone) for rapid recovery.
RFC 1035 BIND Master Zone File Mechanics
BIND zone syntax (RFC 1035 Section 5) is the lowest common denominator supported by Cloudflare DNS import, AWS Route 53 (Import zone file), Namecheap, DigitalOcean, and self-hosted BIND9 / Knot DNS servers. Understanding four formatting rules prevents failed emergency imports:
$ORIGINDirective: Sets the base domain suffix appended to every relative hostname (for example$ORIGIN example.com.). Notice the mandatory trailing period—without it, BIND treats the origin itself as relative.$TTLDirective: Sets the default Time-To-Live in seconds (such as$TTL 300) for any record lacking an explicit per-record TTL column.- Apex
@Syntax: The@symbol expands to the current$ORIGINvalue. Use@for rootA,AAAA,MX, and apexTXT(SPF) records. - Trailing Dot (
.) FQDN Rule: Any target hostname that does not end with a dot has$ORIGINappended automatically. Writing10 mail.example.netwithout a trailing dot resolves tomail.example.net.example.com.inside BIND9.
$ORIGIN example.com.
$TTL 300
@ 300 IN A 203.0.113.10
@ 300 IN AAAA 2001:db8::10
@ 300 IN MX 10 aspmx.l.google.com.
@ 300 IN TXT "v=spf1 include:_spf.google.com ~all"
_dmarc 300 IN TXT "v=DMARC1; p=reject; rua=mailto:dmarc@example.com"
Note that TXT strings longer than 255 octets (common for 2048-bit DKIM keys or long SPF policies) must be split into adjacent quoted segments inside parentheses per RFC 1035 / RFC 4408 rather than one unsplit 400-character literal.
SOA Serial Increment Pitfalls During Rollbacks
If you manage primary/secondary zones on BIND9, NSD, or PowerDNS, re-uploading an old .zone file verbatim often fails silently on secondary nameservers. Secondary servers compare the SOA (Start of Authority) serial number via IXFR/AXFR using RFC 1982 serial arithmetic:
@ 3600 IN SOA ns1.example.com. hostmaster.example.com. (
2026112602 ; Serial (YYYYMMDDnn) — MUST increment above current live serial
7200 ; Refresh
3600 ; Retry
1209600 ; Expire
300 ) ; Minimum / Negative Cache TTL
If your broken zone had serial 2026112605 and your pre-migration backup file has 2026112601, secondary resolvers reject the rollback as “older” data. Always bump the serial higher (2026112606) and validate syntax with named-checkzone before reloading:
named-checkzone example.com example.com.zone
rndc reload example.com
Managed cloud DNS platforms (Cloudflare, Route 53) automatically increment internal SOA serials when importing .zone files—just make sure you strip or adjust conflicting NS and SOA lines if importing into a new provider.
Pre-Migration & Incident Recovery Runbook
| Phase | Action | Verification Tool |
|---|---|---|
| T-24h | Lower critical A, AAAA, MX, and TXT TTLs from 3600/86400 to 300 (5 min) |
DNS Lookup |
| T-5m | Capture snapshot here AND download .zone backup; export full provider zone if using subdomains/DNSSEC |
DNS Records Reference |
| Cutover | Apply changes; re-capture snapshot and verify + / - diff contains zero missing MX/TXT lines |
Global DNS Propagation |
| Rollback | Import .zone file into DNS provider (or BIND9 with incremented SOA serial); verify A/MX consensus |
DNS Health Check |
Verify authoritative convergence directly from your terminal after restoring records:
dig @1.1.1.1 example.com A +noall +answer
dig @8.8.8.8 example.com MX +noall +answer
Scope note: Browser snapshots record apex A, AAAA, MX, TXT, CNAME, and NS values in localStorage. Subdomains (such as selector._domainkey DKIM keys or _dmarc) and DNSSEC DS delegations (DNSSEC Checker) must also be preserved in provider backups before nameserver switches.
Recommended Troubleshooting Deep Dives
Authoritative SRE implementation tutorials related to this tool.
DNS Migration Checklist: Move Your Domain Without Breaking Email or Your Website
A step-by-step checklist for moving DNS to a new provider: export records, lower TTL, copy MX, SPF, DKIM and DMARC, switch nameservers, then verify.
Read guideHow to Fix DNS_PROBE_FINISHED_NXDOMAIN in Chrome
Step‑by‑step guide to eliminate DNS_PROBE_FINISHED_NXDOMAIN errors in Chrome. Real‑world fixes from a network security engineer.
Read guideUnderstanding DNS SEC and how to check it
Learn how DNSSEC DS, DNSKEY (KSK/ZSK), and RRSIG records protect zones from cache poisoning, and validate your chain of trust with dig +dnssec.
Read guideRelated tools
View all toolsDNS Propagation
Free global DNS propagation checker. Query A, AAAA, CNAME, MX and TXT records across 12 edge locations with expected-value matching and Geo-DNS notes.
MTA-STS & TLS-RPT
Free MTA-STS and TLS-RPT validator. Audit policy files, verify _mta-sts DNS TXT records, and generate 1-click Cloudflare Worker and Nginx configurations.
Mail Tester
Free mail tester. Send a message to a test address and see its SPF, DKIM and DMARC results and spam score for your real email.
