---
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/copilot
---
# How to Verify SPF and DKIM with Copilot

Copilot integrates DNS checks directly into your development workflow, letting you verify domain configurations without leaving your editor. Validate DNS changes immediately after applying Terraform updates, check SSL certificates as part of your deployment verification, and verify email records when onboarding new sending providers. This tight integration with your infrastructure-as-code workflow catches configuration drift before it causes production issues.

## Setup

{"mcpServers":{"toolrouter":{"command":"npx","args":["-y","toolrouter-mcp"]}}}

## Steps

1. Add ToolRouter to Copilot MCP config
2. In Copilot Chat: "Verify SPF and DKIM records for our domain"
3. Copilot retrieves TXT records and checks email authentication setup
4. Update DNS configuration based on the findings

## Example Prompt

```
Check email authentication DNS records for example.com. Verify SPF includes all our sending services.
```

## Tips

- Verify email records when onboarding new email providers
- Copilot can check multiple domains if you send from several
- Include SPF/DKIM verification in your domain setup automation
