---
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/lookup-dns-records/copilot
---
# How to Look Up DNS Records 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: "Look up DNS records for our production domain"
3. Copilot returns the DNS record set
4. Ask Copilot to check records for staging and development domains too

## Example Prompt

```
Look up DNS records for api.example.com. I need to verify the CNAME points to our load balancer.
```

## Tips

- Quick DNS checks without leaving your IDE during infrastructure debugging
- Verify DNS changes right after applying Terraform or infrastructure-as-code updates
- Copilot can check multiple subdomains in one session
