<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: BingGe</title>
    <description>The latest articles on DEV Community by BingGe (@_535eaafb7621edb176417e).</description>
    <link>https://dev.to/_535eaafb7621edb176417e</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4222325%2F811ca5b8-7fb0-4120-93ed-10f963cb517a.jpg</url>
      <title>DEV Community: BingGe</title>
      <link>https://dev.to/_535eaafb7621edb176417e</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/_535eaafb7621edb176417e"/>
    <language>en</language>
    <item>
      <title>DNS Failover, Explained: How Your Domain Survives a Dead Server</title>
      <dc:creator>BingGe</dc:creator>
      <pubDate>Wed, 04 Nov 2026 12:29:53 +0000</pubDate>
      <link>https://dev.to/_535eaafb7621edb176417e/dns-failover-explained-how-your-domain-survives-a-dead-server-5ef1</link>
      <guid>https://dev.to/_535eaafb7621edb176417e/dns-failover-explained-how-your-domain-survives-a-dead-server-5ef1</guid>
      <description>&lt;p&gt;It's 2 a.m. Your origin server runs out of disk, panics, and never comes back. The on-call engineer is asleep. And here's the part that makes it worse: your DNS keeps answering, cheerfully and correctly, with the IP address of a machine that no longer exists. Every recursive resolver on the planet now holds a valid, authoritative answer that points real users straight into a black hole.&lt;/p&gt;

&lt;p&gt;DNS doesn't monitor anything. It's a directory service — it answers from the zone you configured, and it has no idea whether the IP inside that answer still accepts connections. DNS failover exists to close exactly this gap: instead of always returning the same address, the record watches its own targets and rewrites the answer the moment one of them stops responding.&lt;/p&gt;

&lt;p&gt;This is a practical tour of how that mechanism works, where it genuinely helps, where it doesn't, and how to set it up so it actually fires when you need it — not three hours after your users have already tweeted about it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The gap: a directory with no pulse check
&lt;/h2&gt;

&lt;p&gt;The most common instinct when a server is flaky is to add a second A record and call it a day. Two IPs, traffic splits between them, problem solved — right?&lt;/p&gt;

&lt;p&gt;Not quite. Multiple A records give you &lt;strong&gt;round-robin distribution&lt;/strong&gt;, but every value in that set is treated as equally alive. If one of the two servers dies, resolvers still hand out its address roughly half the time. Your outage goes from "site down" to "site down for 50% of visitors, randomly" — which is arguably more confusing to debug, because half your team will be unable to reproduce it.&lt;/p&gt;

&lt;p&gt;The missing ingredient is &lt;strong&gt;health awareness&lt;/strong&gt;. Nothing in the DNS protocol checks whether an endpoint is reachable before answering with it. That has to be layered on top by whoever operates the authoritative servers, and that layer is what we call failover.&lt;/p&gt;

&lt;h2&gt;
  
  
  What DNS failover actually is
&lt;/h2&gt;

&lt;p&gt;A failover record looks almost identical to an ordinary multi-value record — same hostname, multiple A or AAAA values — but the values have roles:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;One (or more) &lt;strong&gt;primary&lt;/strong&gt; targets, serving traffic under normal conditions.&lt;/li&gt;
&lt;li&gt;One or more &lt;strong&gt;backup&lt;/strong&gt; targets, idle until needed.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Behind the record sits a probe that continuously checks each target. As long as the primaries answer, the record serves them — nothing changes for your users. When a primary stops passing the probe, the record quietly drops it from the answer and serves the backup instead. When the primary recovers, it's promoted back. From the outside, it looks like your hostname simply refuses to die.&lt;/p&gt;

&lt;p&gt;It's worth being precise about what this is &lt;em&gt;not&lt;/em&gt;: it's not load balancing at the HTTP level, it doesn't drain sessions, and it won't rescue a misconfigured application. It operates one layer below all of that — it decides &lt;em&gt;which IP&lt;/em&gt; gets handed out, nothing more. Used for what it's good at, though, it turns your most common failure mode (an unreachable endpoint) into a non-event.&lt;/p&gt;

&lt;h2&gt;
  
  
  The health check is the whole game
&lt;/h2&gt;

&lt;p&gt;Everything about failover quality comes down to the probe. Three design decisions matter most.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. What to probe.&lt;/strong&gt; A TCP probe that connects to your service port (80, 443, 5432, whatever the endpoint actually serves) is the workhorse: cheap, unambiguous, and hard to fool. An endpoint that accepts the TCP handshake is at least &lt;em&gt;running&lt;/em&gt;; one that refuses or times out is not. (Application-level checks — "is it returning a healthy HTTP status?" — are more truthful but heavier, and many platforms don't offer them, so know which kind you're buying.)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. How often.&lt;/strong&gt; Probing every second burns resources and gains little; probing every ten minutes means users suffer for ten minutes before the switch. For most production setups, a probe on the order of &lt;strong&gt;once a minute&lt;/strong&gt; is the sweet spot — fast enough that a real outage costs you a minute, slow enough to stay out of the way. Serious implementations let you tighten the interval on paid plans when the stakes justify it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Debouncing — the part everyone skips.&lt;/strong&gt; Networks blip. A single dropped probe proves nothing; switching answers on the first failure is how you build a system that flaps — bouncing traffic between primary and backup on transient hiccups, resetting caches each time. The fix is to require &lt;strong&gt;consecutive failures&lt;/strong&gt; before acting: a common design is two failed rounds in a row before the target is declared down. Two-round debounce plus a minute-scale probe interval means the worst case for a genuine hard failure is a couple of minutes of impact — and, critically, transient noise costs you nothing.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Foksixy82uk35kfg9oiot.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Foksixy82uk35kfg9oiot.jpg" alt=" " width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Failover vs. round-robin vs. weighted
&lt;/h2&gt;

&lt;p&gt;The same "one hostname, several values" record can behave in very different ways depending on the scheduling policy:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Round-robin&lt;/strong&gt;: rotate through all values. Simple, adds no capacity awareness, and — the key point — &lt;strong&gt;completely blind to health&lt;/strong&gt;. A dead member keeps receiving its share of traffic.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Weighted&lt;/strong&gt;: send a configurable share to each value. Great for canary rollouts and uneven hardware; still no health awareness on its own.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Failover&lt;/strong&gt;: active/passive with health checks; backups only appear when primaries fail. This is the only policy in the family that &lt;em&gt;reacts&lt;/em&gt; to a dead endpoint.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Source-hash style policies&lt;/strong&gt; (session stickiness by client IP) solve a different problem entirely — keeping a given visitor on the same endpoint — and are orthogonal to the availability question.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you take one thing from this section: round-robin and weighted answers distribute traffic; failover is the one that &lt;em&gt;removes&lt;/em&gt; traffic from something that's dying. If your goal is surviving a dead server, you need the third one.&lt;/p&gt;

&lt;h2&gt;
  
  
  When everything is down: never answer empty
&lt;/h2&gt;

&lt;p&gt;Here's a corner case that separates careful implementations from careless ones. Suppose the primary is down, failover switches to the backup — and then the backup dies too. Now what?&lt;/p&gt;

&lt;p&gt;A naive implementation returns an empty answer: the name exists, but there's nothing to give you. That's the worst possible behavior, because empty answers invite &lt;strong&gt;negative caching&lt;/strong&gt; — resolvers remember "no answer here" for the record's TTL, so even after a server recovers, a chunk of the internet keeps believing your hostname is broken. A total outage of the endpoint becomes a total outage of the &lt;em&gt;name&lt;/em&gt;, with a built-in lag on recovery.&lt;/p&gt;

&lt;p&gt;The better design, and what you should look for in any provider's docs: when every target in a failover set is down, &lt;strong&gt;keep serving the last known good answer&lt;/strong&gt;. It's wrong about the world, but it's the most useful kind of wrong — the moment anything recovers, clients start reaching it immediately, with no negative-cache tax on top.&lt;/p&gt;

&lt;h2&gt;
  
  
  Detection is half the battle: alert while it happens
&lt;/h2&gt;

&lt;p&gt;Failover answers the question "what do users get while a server is down?" It doesn't answer "when do I find out?" — for that you need the monitoring half of the platform to shout at you. Two things make alerting actually usable:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The same debounce logic&lt;/strong&gt; applied to notifications: several failed probes and a short aggregation window before an alert fires, so a single lost packet doesn't page anyone at dinner.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Channels you actually read.&lt;/strong&gt; Email is table stakes; the useful ones are IM hooks — Telegram and DingTalk-style webhooks land the alert where your team already lives, which is the difference between a two-minute response and a two-hour one.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A solid &lt;a href="https://www.matchdns.com/features/dns-monitoring" rel="noopener noreferrer"&gt;DNS monitoring setup&lt;/a&gt; pairs downtime detection with the same probe infrastructure the failover uses, so what the record &lt;em&gt;does&lt;/em&gt; and what the alert &lt;em&gt;says&lt;/em&gt; never disagree.&lt;/p&gt;

&lt;h2&gt;
  
  
  A setup checklist that actually works
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Give the backup something real to do.&lt;/strong&gt; Failover switches traffic, not state. If the backup serves a stale copy or a bare maintenance page, decide deliberately whether that's acceptable — a branded "we're briefly down" page beats a connection timeout, but be honest with yourself about which it is.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Probe the port the service actually uses&lt;/strong&gt;, not a neighboring one. A web server that has fallen over into a state where 443 is closed but 22 still answers should count as down.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Set the interval and debounce consciously.&lt;/strong&gt; Minute-scale probing with two-round failure confirmation covers most setups; tighten only if your recovery-time objective genuinely demands it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep the TTL on failover records short.&lt;/strong&gt; Failover changes the answer; a long TTL delays the change reaching users. A few minutes is the right neighborhood here — these records are exactly the ones that shouldn't be cached for hours.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Verify the backup is reachable before you need it&lt;/strong&gt;, not during the incident. A &lt;a href="https://www.matchdns.com/tools/port-checker" rel="noopener noreferrer"&gt;free port checker&lt;/a&gt; run from outside your network tells you whether the standby actually accepts traffic on the right port — firewalls and security groups have a talent for silently eating failover traffic.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Drill it.&lt;/strong&gt; Once, deliberately, in a quiet window: stop the primary, watch the probe fail twice, confirm the backup is being served, restart, confirm the switch-back. A failover mechanism that has never been observed firing is a hypothesis, not a feature.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Three gotchas people learn the hard way
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;TCP-up ≠ application-healthy.&lt;/strong&gt; The process may accept connections and still serve HTTP 500s. Failover fixes &lt;em&gt;unreachable&lt;/em&gt;; it cannot see &lt;em&gt;unhappy&lt;/em&gt;. That's what application monitoring is for — know which layer you're covered on.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hair-trigger switching costs more than it saves.&lt;/strong&gt; Aggressive single-failure switching feels safe and produces chronic flapping. The debounce is not a bug in your platform's confidence; it's the feature that keeps the system stable.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Recovery gets forgotten.&lt;/strong&gt; Many people test the switch to backup and never test the return. If the primary comes back into rotation half-configured, you've engineered a countdown timer to a second outage. The drill in step 6 covers both directions — do both.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Wrapping up
&lt;/h2&gt;

&lt;p&gt;None of this requires exotic infrastructure: a failover-capable record, a sane probe with debouncing, an alert channel your team reads, and one rehearsal. What it buys you is a specific and very common kind of 2 a.m. — the dead endpoint — being demoted from "wake everyone up" to "a notification you read with breakfast."&lt;/p&gt;

&lt;p&gt;If you'd rather not assemble the pieces yourself, this is squarely managed-DNS territory. MatchDNS is an authoritative DNS hosting platform whose &lt;a href="https://www.matchdns.com/features/failover" rel="noopener noreferrer"&gt;failover records&lt;/a&gt; probe targets over TCP with two-round failure confirmation before switching — and when every endpoint in a set is down, it keeps serving the last known answer rather than an empty one, so a total outage doesn't compound into broken negative caching. The free tier is enough to wire it up for a couple of domains and run the drill yourself.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>devops</category>
      <category>sre</category>
      <category>networking</category>
    </item>
    <item>
      <title>How to Switch DNS Providers Without Downtime: A Step-by-Step Checklist</title>
      <dc:creator>BingGe</dc:creator>
      <pubDate>Mon, 02 Nov 2026 12:44:27 +0000</pubDate>
      <link>https://dev.to/_535eaafb7621edb176417e/how-to-switch-dns-providers-without-downtime-a-step-by-step-checklist-nd7</link>
      <guid>https://dev.to/_535eaafb7621edb176417e/how-to-switch-dns-providers-without-downtime-a-step-by-step-checklist-nd7</guid>
      <description>&lt;p&gt;Moving your domain to a new DNS provider has a reputation for being scary. In reality, the DNS protocol is remarkably forgiving — most "migration outages" are not protocol failures at all. They're sequencing failures: records missing on the new provider before the switch, TTLs left high so a mistake takes a day to heal, or the old zone deleted while some resolvers are still asking it.&lt;/p&gt;

&lt;p&gt;This checklist is the sequence that avoids all three. It works for a personal blog, a SaaS product, or a storefront, and every step can be done with free tools.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdyi3tayv0k0uirw9uc4o.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdyi3tayv0k0uirw9uc4o.jpg" alt=" " width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why migrations break: caches, not the protocol
&lt;/h2&gt;

&lt;p&gt;DNS is cached at every layer — your OS, your browser, and thousands of recursive resolvers at ISPs and public providers. When you change nameservers, old answers keep circulating until their TTLs expire. That's by design: caching is what makes DNS fast.&lt;/p&gt;

&lt;p&gt;The catch is that a migration changes two things independently:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Your records&lt;/strong&gt; (what the answers are), served by your DNS provider.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Your delegation&lt;/strong&gt; (who is authoritative), set at your domain registrar.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you flip the delegation while the new provider's zone is incomplete, some resolvers get correct answers from the old servers while others get empty or wrong answers from the new ones. That's the classic self-inflicted outage, and it's entirely avoidable with the right order of operations.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Inventory every record before you touch anything
&lt;/h2&gt;

&lt;p&gt;Before signing up anywhere, export or manually record your complete zone:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A / AAAA&lt;/strong&gt; records for every hostname, including wildcard entries.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CNAME&lt;/strong&gt; records, plus any apex-level alias (more on that below).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MX&lt;/strong&gt; records and their priorities.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;TXT&lt;/strong&gt; records — especially your SPF, DKIM, and DMARC strings, which are long and easy to truncate by accident.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SRV, CAA, NS&lt;/strong&gt; and anything else in the zone.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Two warnings from experience:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Email is what breaks first.&lt;/strong&gt; MX and mail-authentication TXT records are the most commonly dropped records in a migration.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CAA records fail silently.&lt;/strong&gt; Drop a CAA record and everything keeps working — until a certificate renewal weeks later suddenly fails, and nobody connects it back to the migration.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A screenshot of your provider's dashboard is not a backup. If your provider supports zone file export, use it. If not, copy records into a zone file template by hand and keep it in version control.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: Lower TTLs 24–48 hours before the cutover
&lt;/h2&gt;

&lt;p&gt;This is the step people skip, and it's the one that determines whether a mistake costs you five minutes or a full day.&lt;/p&gt;

&lt;p&gt;TTL (time-to-live) is how long resolvers are allowed to cache an answer. Many providers default to TTLs of several hours or more. At least a day before your migration, lower the TTL on &lt;strong&gt;every record&lt;/strong&gt; in the zone to something short — 300 seconds is a common choice for the migration window.&lt;/p&gt;

&lt;p&gt;One subtlety: a TTL change itself propagates at the &lt;em&gt;old&lt;/em&gt; TTL. If a record currently has a 24-hour TTL and you lower it to 300 seconds today, resolvers that cached the record yesterday will keep honoring the old value for up to 24 hours before they see and respect the new one. That's precisely why the lowering has to happen &lt;strong&gt;before&lt;/strong&gt; the switch — not on the day of.&lt;/p&gt;

&lt;p&gt;If you're unsure how a given TTL translates to real-world cache behavior, run the numbers through a TTL calculator rather than guessing: &lt;a href="https://www.matchdns.com/tools/ttl-calculator" rel="noopener noreferrer"&gt;https://www.matchdns.com/tools/ttl-calculator&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After the migration settles, raise TTLs back to something sane (an hour or a few). Permanently low TTLs just increase query load everywhere for no benefit.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: Replicate the zone at the new provider — then diff it
&lt;/h2&gt;

&lt;p&gt;Create the zone on the new provider and add every record from your inventory, with the TTLs you just lowered. If the provider supports zone file import, use it — then verify manually anyway, because importers routinely miss exotic records (SRV with unusual formatting, multiline TXT strings, wildcard/alpex aliases).&lt;/p&gt;

&lt;p&gt;Pay attention to two record types where providers genuinely differ:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Apex CNAMEs.&lt;/strong&gt; The protocol doesn't allow a CNAME at the zone apex alongside other required records. Providers solve this differently — some offer an ALIAS-style flattened record, some don't support it at all. If your apex relies on one, confirm the new provider handles it the same way before you commit.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Wildcard records.&lt;/strong&gt; Make sure &lt;code&gt;*.example.com&lt;/code&gt; came across, and that the provider's wildcard behavior (and interaction with existing records) matches what you had.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If your new provider offers a side-by-side comparison of the old zone against the new one, use it. Even if not, build your own diff table — name, type, value, TTL, old vs new. Mismatched values are the single most common cause of "weirdness" after a move.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4: Test the new zone before it's live
&lt;/h2&gt;

&lt;p&gt;You don't have to wait for delegation to test. Every DNS provider publishes its nameserver hostnames; query them directly with &lt;code&gt;dig&lt;/code&gt;, bypassing caches entirely:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;dig @ns1.new-provider.example www.example.com A +norecurse
dig @ns1.new-provider.example example.com MX +norecurse
dig @ns1.new-provider.example example.com TXT +norecurse
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Compare each answer against what the old provider returns. They should be identical. This step catches the incomplete-zone problem while it's still free to fix — before any real user can hit it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 5: Flip the NS records at your registrar
&lt;/h2&gt;

&lt;p&gt;Now the actual cutover: at your registrar, replace the nameserver entries with the ones your new provider assigns. Three small things to get right:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Replace, don't append.&lt;/strong&gt; The delegation should point only at the new provider's nameservers. Leaving one old nameserver in the set means some resolvers keep consulting it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Exact hostnames, no typos.&lt;/strong&gt; A typo here produces &lt;code&gt;SERVFAIL&lt;/code&gt;-style failures across the board.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Glue records&lt;/strong&gt;, if your nameservers happen to be under the domain itself (rare with hosted DNS, but worth knowing about).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Delegation changes don't spread the way record changes do. Resolvers learn your nameservers from the parent (.com, .net, etc.) zone, whose NS TTL is set by the registry — commonly on the order of a day, and not under your control. Plan your timeline around that.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 6: Watch propagation instead of guessing
&lt;/h2&gt;

&lt;p&gt;After the flip, different resolvers and regions will switch over at different times as caches expire. That's normal — what you're watching for is convergence: every region eventually returning identical answers served by the new nameservers.&lt;/p&gt;

&lt;p&gt;Checking this by hand means querying public resolvers one at a time and hoping they're representative. A propagation checker that queries the same record from many vantage points turns guesswork into observation — this one checks A/AAAA/CNAME/MX/TXT/NS answers across regions side by side: &lt;a href="https://www.matchdns.com/tools/dns-propagation" rel="noopener noreferrer"&gt;https://www.matchdns.com/tools/dns-propagation&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If one region keeps returning the old answer well past your lowered TTL, two usual suspects: that record's TTL was never actually lowered (old TTLs haunt you exactly as described in step 2), or an ISP resolver in that region ignores TTLs and caches aggressively. Both resolve with time; the second one you simply wait out.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 7: Keep the old zone alive through the tail
&lt;/h2&gt;

&lt;p&gt;Here's the detail that saves you: after the delegation flips, most resolvers correctly start asking the new nameservers — but resolvers that cached the &lt;em&gt;old delegation&lt;/em&gt; keep asking the old ones until their cached NS set expires. That tail can run a day or more.&lt;/p&gt;

&lt;p&gt;If your old provider's zone still exists during that window, those stragglers get correct answers and nobody notices anything. If you cancelled the old plan the same afternoon, they get failures. Keep the old provider serving for at least as long as your longest original TTL — overlap is cheap; an outage is not.&lt;/p&gt;

&lt;h2&gt;
  
  
  The mistakes, ranked by how often they bite
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Email breaks.&lt;/strong&gt; MX or SPF/DKIM/DMARC records dropped or truncated in the move. Test mail delivery explicitly after the flip.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Apex alias behavior differs.&lt;/strong&gt; Works on the old provider, unsupported or subtly different on the new one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Wildcards missed.&lt;/strong&gt; Everything you tested works; the untested &lt;code&gt;random.example.com&lt;/code&gt; subdomain 404s.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CAA dropped.&lt;/strong&gt; Fine for weeks, then certificate renewal fails out of nowhere.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;TTLs never lowered.&lt;/strong&gt; Everything else done right, but a rollback now takes a day instead of five minutes.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  About rollback
&lt;/h2&gt;

&lt;p&gt;If something is wrong after the flip, the first move is fixing records on the new provider. If the new zone is fundamentally broken, flipping NS back to the old provider also works — &lt;strong&gt;provided&lt;/strong&gt; the old zone still exists and your TTLs are low. That's the quiet payoff of steps 2 and 7: a real rollback path that measures in minutes, not days.&lt;/p&gt;

&lt;h2&gt;
  
  
  Wrapping up
&lt;/h2&gt;

&lt;p&gt;A DNS migration is boring when it's sequenced right: inventory → lower TTLs → replicate and diff → pre-test → flip → watch → overlap. Nothing in the list requires paid tooling, and the two most useful checks — TTL math and multi-region propagation — are exactly the kind of thing free online tools handle well.&lt;/p&gt;

&lt;p&gt;If you're comparing providers mid-move, it's worth knowing that MatchDNS is an authoritative DNS hosting service (not a public resolver) that also ships a free toolset — including a TTL calculator, a multi-region propagation checker, and a side-by-side DNS migration comparator — all usable without an account, which is convenient precisely when you're moving &lt;em&gt;between&lt;/em&gt; providers: &lt;a href="https://www.matchdns.com/tools/dns-migration" rel="noopener noreferrer"&gt;https://www.matchdns.com/tools/dns-migration&lt;/a&gt;&lt;/p&gt;

</description>
      <category>dns</category>
      <category>devops</category>
      <category>webdev</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
