---
title: ToolRouter — Agent Use Case Guide
description: Step-by-step guide for completing a task with a specific AI agent using ToolRouter.
url: https://toolrouter.com/tools/dns-domain/use-cases/verify-spf-dkim/claude
---
# How to Verify SPF and DKIM with Claude

Claude turns DNS investigation into a deep, conversational security review where each finding leads naturally to the next check. Ask Claude to look up your records, chain that into an SSL verification, cross-reference with email authentication settings, and explain the security implications of every configuration detail it finds. Its analytical reasoning makes it ideal for thorough domain audits where understanding the "why" behind each record matters as much as seeing the data.

## Setup

claude mcp add toolrouter -- npx -y toolrouter-mcp

## Steps

1. Connect ToolRouter: claude mcp add toolrouter -- npx -y toolrouter-mcp
2. Ask Claude: "Check the SPF, DKIM, and DMARC records for example.com using dns-domain"
3. Claude retrieves the TXT records and analyzes your email authentication setup
4. Fix any missing or misconfigured records based on the analysis

## Example Prompt

```
Verify the email authentication records for example.com. Check SPF, DKIM, and DMARC configuration. We use Google Workspace and SendGrid for sending.
```

## Tips

- Tell Claude which email services you use so it can verify SPF includes them all
- Ask Claude to check DKIM selectors for each sending service
- Verify DMARC is set to at least p=quarantine for meaningful protection
