IT OPS

Reconcile Cloudflare DNS to match the Coda registry

On a schedule, applies the Coda DNS registry to Cloudflare — creating missing records, updating mismatched ones, and deleting unauthorized extras.

CategoryIT Ops
Enginesim
Difficultyadvanced
Triggerschedule
Steps6
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerHourly schedule
  • ActionRead managed DNS records from CodaCodaCoda
  • ActionList current Cloudflare recordsCloudflareCloudflare
  • LogicBuild change plan: create / update / scoped delete
  • ActionApply create/update/delete via Cloudflare APICloudflareCloudflare
  • OutputPost applied-changes summary to DiscordDiscordDiscord

What it does

This is the write counterpart to a drift audit: it makes Cloudflare conform to Coda. After computing the diff it creates records that exist in Coda but not in Cloudflare, updates records whose value, TTL, or proxy flag disagree, and removes records in Cloudflare that are not in the registry. Deletions only target records explicitly marked as managed in Coda, so unmanaged vendor records are left alone. Every applied change is logged and summarized.

When to use it

Use it once your Coda registry is trusted and complete, and you want DNS to self-heal rather than just alert. Good for environments where the registry is the change-control system and the dashboard should never be edited by hand.

How it works

  1. 1A schedule (e.g. hourly) starts the reconcile.
  2. 2Read the managed-records table from Coda and list current records from Cloudflare.
  3. 3Compute the change plan: creates, updates, and scoped deletes.
  4. 4Apply each change through the Cloudflare API, capturing success or failure per record.
  5. 5Post a Discord summary of what was created, updated, deleted, and any errors.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect CodaDocs, packs, automations.
  2. 2
    Connect CloudflareWorkers, Pages, R2, KV — the edge stack.
  3. 3
    Connect DiscordCommunity channels + voice + bots.
  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.