IT OPS

Cloudflare DNS Drift Snapshot & Diff Alerter

Hourly snapshot of every Cloudflare zone's records compared against the last stored snapshot, alerting Slack on any added, removed, or retargeted record so unexpected DNS changes…

CategoryIT Ops
Enginesim
Difficultyintermediate
Triggerschedule
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerHourly schedule triggers the snapshot
  • ActionFetch current DNS record set from CloudflareCloudflareCloudflare
  • ActionStore new snapshot and read prior one from PostgresPostgreSQLPostgres
  • LogicDiff snapshots; pass only when changes exist
  • OutputPost old-vs-new change report to SlackSlack

What it does

This workflow takes a recurring snapshot of all DNS records in your Cloudflare zones, stores it, and diffs it against the previous snapshot. Any change — a new CNAME, a deleted A record, a retargeted origin — is surfaced immediately. It turns silent, untracked DNS edits into an auditable change feed.

When to use it

Use it when multiple people or automation tools can edit DNS and you need a tamper-evident record of what changed and when. It is the early-warning layer that catches a record being repointed at an attacker-controlled or decommissioned origin between your slower full audits.

How it works

  1. 1An hourly schedule triggers the snapshot.
  2. 2Cloudflare returns the current record set for all zones.
  3. 3The snapshot is written to Postgres and the prior snapshot is read back.
  4. 4A diff computes added, removed, and modified records.
  5. 5A filter passes only runs where the diff is non-empty.
  6. 6A formatted change report is posted to Slack with old-vs-new values for each touched record.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect CloudflareWorkers, Pages, R2, KV — the edge stack.
  2. 2
    Connect PostgresAny Postgres URL — query, write, migrate.
  3. 3
    Connect SlackChannels, DMs, threads, mentions.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.