IT

Audit DNS records every month

Every month, Merlin checks each DNS record in Cloudflare for targets that no longer exist. You get the dangling ones, each a subdomain takeover risk, in your security channel.

@Merlin on the 1st of every month at 9:00, list the DNS records in every Cloudflare zone we have. For each CNAME, check whether its target still resolves and answers, and for each A or AAAA record whether its address still answers. Post here the records that point at something that's gone, such as a deleted bucket or app, with why each is a takeover risk, and say so when every record checks out. Only read: don't change or delete any record.

#it-security
Get started for free
  1. Starts whenOn the 1st of every month at 09:00, a monthly Merlin schedule posts to #it-security
  2. Merlin worksClaude Code or Codex lists the DNS records in your Cloudflare zones and checks whether each record's target still resolves and answers
  3. You getA post in #it-security with each record that points at something gone and why it's a takeover risk

Tools

  • Slack
  • Cloudflare

Capabilities

  • Automations
  • Your agent's MCP

How it works

From every DNS record to the ones that point at nothing.

On the 1st of every month at 9:00, the automation you created from #it-security starts a run on the IT machine.

/AcmeTeam/Automations/Audit DNS records every monthFeedback?R

Overview

Agents

Skills

Memory

Automations

Integrations

Settings

Audit DNS records every month

Pause
StatusActive
CreatorR Rosa You
ScopeWorkspace
Last runOct 1, 2026, 9:00 AM

DetailsRun history

Trigger

When Merlin runs it.

RuleHow often Merlin runs it.Monthly
Day of monthShort months use their final day.1
TimeNext run Nov 1, 2026, 9:00 AM.09:00

Run

What Merlin does each time, where it runs, and where the result goes.

Run instruction

on the 1st of every month at 9:00, list the DNS records in every Cloudflare zone we have. For each CNAME, check whether its target still resolves and answers, and for each A or AAAA record whether its address still answers. Post here the records that point at something that's gone, such as a deleted bucket or app, with why each is a takeover risk, and say so when every record checks out. Only read: don't change or delete any record.

RuntimeThe computer and coding agent that run it.IT Mac mini · Claude Code
DestinationWhere Merlin posts the result. Choose None when the instruction already acts in your tools.#it-security

Before and after

Dangling records get caught before someone else claims them.

Without Merlin

Someone exports every zone's records now and then and checks each target by hand, or it waits for the next pen test.

  1. 01Export each zone's DNS records
  2. 02List the CNAMEs and A records
  3. 03Resolve each target
  4. 04Check what answers
  5. 05Open the suspicious ones
  6. 06Note which are takeover risks
  7. 07Ask who owns each record
  8. 08Post the findings in #it-security

With Merlin

A monthly schedule checks every record and posts only what points at nothing.

  1. Day 1 of every month at 09:00Monthly Merlin schedule
  2. Checks every record on the IT Mac miniCloudflare DNS, read-only
  3. Dangling records in #it-securityWith why each is a takeover risk

Setup

Give one IT machine read access to DNS, then schedule the audit from #it-security.

Set these up once and the audit runs on the 1st of every month. Merlin only reads, so records stay as they are until someone changes them.

  1. 01Connect a machineRuntimeInstall the Merlin desktop app or CLI on a computer running Claude Code or Codex. You can also use a machine a teammate shares with your workspace.
  2. 02Add Merlin to SlackIntegrationsInstall the Slack app and add Merlin to the channel you work in. A private channel needs /invite @Merlin.
  3. 03Add Cloudflare to your agentYour agent's MCPConnect the Cloudflare MCP server to Claude Code or Codex on the machine that runs this. Its credentials stay on that machine.
  4. 04Create it from the IT machineRuntime

    Runs prefer the runtime recorded when the automation is created, then its creator's other runtimes or a shared one (choose a runtime). Send the prompt from the machine with Cloudflare connected.

  5. 05Grant read access to DNSYour agent's MCP

    When you connect the Cloudflare API MCP server, choose read access to DNS for every zone, so the audit can list records but can't edit them.

  6. 06Paste the setup promptAutomationsSend the prompt below to @Merlin in Slack, in the channel it should post to. Merlin creates the automation and tells you what it set up.

Prompt

Schedule the monthly DNS audit with one message in #it-security.

@Merlin on the 1st of every month at 9:00, list the DNS records in every Cloudflare zone we have. For each CNAME, check whether its target still resolves and answers, and for each A or AAAA record whether its address still answers. Post here the records that point at something that's gone, such as a deleted bucket or app, with why each is a takeover risk, and say so when every record checks out. Only read: don't change or delete any record.

#it-security

Once, when you send it

  1. PromptYou send the prompt to @Merlin
  2. AutomationMerlin creates the automation

Every scheduled run

  1. ScheduleThe schedule starts a run
  2. RuntimeMerlin picks the creator's machine first
  3. ContextThe run gathers context
  4. WorkClaude Code or Codex checks every record's target
  5. ResultMerlin posts the dangling records
  6. SteeringReplies in its thread follow up

Bring your coding agents into the tools your team already uses.

Let your whole team hand work to Claude Code and Codex today. Connect one machine and add Merlin to Slack, Linear or GitHub. 14-day free trial, no API keys, no card.