Zone management
Drift monitoring
Detect DNS drift when live provider records differ from the saved zone. Run checks, schedule monitoring, send alerts, and resolve each difference safely.
5 min read
On this page
Drift monitoring compares each provider's current zone with the provider-shaped DNSMigrator draft and marks differences without writing anything. The key point is that scheduled monitoring needs Pro or Agency, while Check for drift is a read-only manual action on every plan. For a zone-transfer source with a saved snapshot, the check starts with the SOA serial and can avoid a full AXFR.
What counts as drift#
A drift check runs the same provider-specific planning logic as a managed-zone preview. For each attached provider, DNSMigrator reads the current API-visible records, applies saved defaults, transforms, Serve from, ignore rules, deletion mode, and provider support checks, then normalizes desired TTLs and metadata to the values that provider stores. One or more planned operations means that provider has drifted.
This is not a comparison between providers and it is not an authoritative DNS propagation test. The planner:
- clamps desired TTLs to provider minimums and maximums, applies fixed or proxied automatic TTLs, and compares the shaped result;
- preserves routing metadata only when that provider supports its policy;
- preserves records matched by ignore rules;
- honors Never delete records at the provider and Only records DNSMigrator pushed;
- filters each record by Serve from before that provider's plan;
- omits unsupported draft records from that provider's operations; and
- omits provider-managed SOA and DNSKEY records.
Because preview, push, and drift use the same provider normalization, an accepted TTL clamp does not create permanent drift. Open the latest preview to see the corresponding Adjusted for provider notes.
Drift checks for zone-transfer sources#
Import a Zone transfer (AXFR/IXFR) connection into a managed zone to monitor a primary without granting write access. After a successful manual or scheduled backup stores a transfer serial and snapshot, later drift checks first query the current SOA serial.
- If the serial is unchanged, DNSMigrator reuses the saved snapshot and does not transfer the full zone.
- If Prefer IXFR for change checks is on and the serial changed, it requests the differences since the saved serial and applies them to the snapshot.
- If IXFR is unavailable, malformed, refused for a recoverable reason, or returned as a full response, the adapter falls back to AXFR.
- Without a usable saved snapshot, the check performs a full read.
The connection remains read-only. Drift can mark the managed draft different from the primary, but push never writes back to a zone-transfer source. A hosted service cannot receive DNS NOTIFY, so scheduled polling discovers changes.
Run a manual check#
Open the managed zone
Go to Zones → select a zone with at least one provider. The page header shows when it was last checked.
Start the read-only job
Select Check for drift. DNSMigrator queues one check for that zone; repeated clicks do not create duplicate pending jobs with the same zone key.
Read the zone status
Reload the zone after the background job finishes. The badge becomes In sync when every non-error plan has no changes, Drifted when at least one non-error plan has changes, or Error when every provider plan records an error.
Inspect the exact changes
Select Preview changes to populate Changes with provider-by-provider add, change, delete, unsupported, and error rows. A drift check itself updates status but does not create a visible preview card.
Any workspace member can start the manual read. Editing, previewing through the web UI, and pushing remain owner/admin actions.
If some provider plans record errors, the remaining plans still determine In sync or Drifted. DNSMigrator stores the first recorded plan error on the zone; only an all-error result sets overall status to Error. A failed zone listing is not in that error count because lookup treats it as an empty zone.
Enable scheduled monitoring#
Open Zones → select the zone → Settings → Monitoring and backups. Check Alert me when a provider drifts from this zone. The setting's help text is literal: DNSMigrator compares every attached provider with the saved records on a schedule and sends the drift event to configured notification channels.
| Plan | Manual Check for drift | Scheduled interval |
|---|---|---|
| Free | Yes | Not available |
| Pro | Yes | Hourly |
| Agency | Yes | Every 15 minutes |
The scheduler scans for due work every five minutes, so the interval is a target rather than a wall-clock appointment. A per-zone singleton key prevents duplicate queued checks. Turning monitoring off stops future scheduled checks; it does not remove the last-check time or change the current status by itself.
The service enforces the entitlement even if a client bypasses the form: enabling monitoring without the drift feature returns Drift monitoring needs the Pro plan. Both Pro and Agency include that feature.
Configure drift alerts#
The monitoring switch does not create a notification destination. Go to Notifications, select Add a channel, and choose Email, Slack, or Webhook. Include Zone drift detected in that channel's event list. See Notifications and webhooks for channel setup and signed webhook delivery.
When a check changes a zone from another status to drifted, DNSMigrator queues one zone.drift event with:
- the zone name in the title;
- the total add, change, and delete count across drifted providers;
- a link to the managed zone; and
- singular or plural wording based on the difference count.
It does not send the same drift alert on every scheduled check while the zone remains drifted. After a check returns the zone to in sync, a later new drift can trigger another alert. Notification delivery retries are handled independently from the DNS check, and a failed channel does not change DNS state.
Resolve a difference#
First decide which state is correct.
Keep the saved DNSMigrator draft#
- Select Preview changes.
- Expand every provider and confirm that the proposed operations repair only the unwanted differences.
- Type the zone name under Changes and push.
- After provider APIs settle, select Check for drift again.
A successful push does not automatically run an authoritative verification. The follow-up drift check confirms the provider-visible state. In a multi-provider zone, one failed provider can leave successful providers updated, so use the next preview to identify the remaining repair.
Keep the external provider change#
Edit the corresponding record under Records, then select Save changes. For a larger external change, select Back up now first; after the manual backup appears under Backups, use View to inspect the provider snapshot or Restore into editor to replace the saved draft from that snapshot. Review it carefully when several providers differ, because each backup represents one provider at one time.
After adopting the external state, preview before any push. This shows whether the newly accepted records are supported and how they compare at every attached provider rather than copying an unchecked console change across the set. See Backups and restore for restore behavior.
What monitoring never does#
A drift job never adds, updates, or deletes DNS records, never changes nameservers, and never enables or disables DNSSEC. It also does not automatically adopt external changes or roll them back. Those actions always require an owner or admin to save a draft, review a preview, and complete the typed push confirmation described in Preview and push.