diagnose_dns
Diagnose DNS resolution issues for a domain by verifying zone status, records, and security policies. Get a report with recommendations to restore resolution.
Instructions
Diagnose DNS resolution problems for a domain: checks zone, records, and security policies. USE THIS when a domain isn't resolving or has DNS issues. For IP-level issues use diagnose_ip_conflict(). For infrastructure-wide health use check_infrastructure_health().
Args: domain: Domain name to diagnose (e.g., "web-prod-01.example.com" or "example.com") view: Optional DNS view name or ID. Required when a zone exists in multiple views (e.g., "default", "Azure.private-2") flush_cache: If True, flushes the DNS cache for the domain before diagnosing. Useful when DNS changes aren't propagating. ASK the user before flushing.
Returns: Diagnostic report with zone status, records found, and recommendations
Examples: - diagnose_dns(domain="app.example.com") → checks zone, A/AAAA/CNAME records, security - diagnose_dns(domain="app.example.com", view="default") → checks in specific view - diagnose_dns(domain="app.example.com", flush_cache=True) → flushes cache then diagnoses
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | ||
| domain | Yes | ||
| flush_cache | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||