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.
- Starts whenOn the
1stof every month at09:00, a monthly Merlin schedule posts to#it-security Merlin worksClaude Code or Codex lists the DNS records in your Cloudflare zones and checks whether each record's target still resolves and answers
- You getA post in
#it-securitywith 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-securitystarts a run on the IT machine.Claude Code or Codex lists the DNS records in your Cloudflare zones, then checks whether each CNAME's target still resolves and answers and whether each A or AAAA address still answers. It only reads.
A post in
#it-securitylists each record that points at something gone and why it's a takeover risk, or says every record checks out.
On the 1st of every month at 9:00, the automation you created from #it-security starts a run on the IT machine.
Claude Code or Codex lists the DNS records in your Cloudflare zones, then checks whether each CNAME's target still resolves and answers and whether each A or AAAA address still answers. It only reads.
A post in #it-security lists each record that points at something gone and why it's a takeover risk, or says every record checks out.
Overview
Agents
Skills
Memory
Automations
Integrations
Settings
Audit DNS records every month
PauseDetailsRun history
Trigger
When Merlin runs it.
Run
What Merlin does each time, where it runs, and where the result goes.
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.
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.
- 01Export each zone's DNS records
- 02List the CNAMEs and A records
- 03Resolve each target
- 04Check what answers
- 05Open the suspicious ones
- 06Note which are takeover risks
- 07Ask who owns each record
- 08Post the findings in #it-security
With Merlin
A monthly schedule checks every record and posts only what points at nothing.
- Day 1 of every month at
09:00Monthly Merlin schedule Checks every record on the IT Mac miniCloudflare DNS, read-only
- 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.
- 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.
- 02Add Merlin to SlackIntegrationsInstall the Slack app and add Merlin to the channel you work in. A private channel needs
/invite @Merlin. - 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.
- 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.
- 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.
- 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.
Once, when you send it
- PromptYou send the prompt to @Merlin
- AutomationMerlin creates the automation
Every scheduled run
- ScheduleThe schedule starts a run
- RuntimeMerlin picks the creator's machine first
- ContextThe run gathers context
- WorkClaude Code or Codex checks every record's target
- ResultMerlin posts the dangling records
- SteeringReplies in its thread follow up
Related use cases
More IT tasks you can hand to Merlin.
- AutomationsYour agent's MCP
IT
Weekly admin access diff
Every Monday, Merlin compares who holds admin rights in Okta, Google Workspace, GitHub and AWS with last week's lists. You get the admins added and removed in your IT channel.
Every Monday at09:00Added and removed admins in#it - IntegrationsMemoryYour agent's MCP
IT
Look into a security alert
Mention Merlin under a security alert. It checks the user's recent sign-ins and devices in Okta and tells you whether it looks expected.
@Merlinin an alert's threadExpected or not, with the evidence - AutomationsYour agent's MCP
IT
Chase everyone without MFA
Every Monday, Merlin lists everyone still without MFA in Okta and Google Workspace. You get the names in your IT channel to chase.
Every Monday at10:00Accounts without MFA in#it
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.