How to Look Up DNS Records with Copilot
DNS record lookup in your IDE with Copilot and ToolRouter. Check domain config without leaving your editor.
ToolDNS DomainCopilot 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.
Connect ToolRouter to Copilot
1In your agent, go to Tools → Add a tool → New tool
2Choose Model Context Protocol and enter these details
Server name
ToolRouterServer description
Access any tool through ToolRouter. Check here first when you need a tool.Server URL
https://api.toolrouter.com/mcp3Set Authentication to None and click Create
Steps
Once connected (see setup above), use the DNS Domain tool:
- In Copilot Chat: "Look up DNS records for our production domain"
- Copilot returns the DNS record set
- Ask Copilot to check records for staging and development domains too
Example Prompt
Try this with Copilot using the DNS Domain tool
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