dns_lookup
Retrieve DNS records for any domain. Query multiple record types like A, MX, TXT to diagnose email issues, verify ownership, and check propagation.
Instructions
Look up DNS records for a domain across multiple record types.
Queries authoritative DNS servers for the specified record types and
returns all matching records with TTL values. Useful for diagnosing
email deliverability (MX records), verifying domain ownership (TXT),
tracing CDN configuration (CNAME), and checking propagation status.
Args:
domain: Domain name to look up (e.g. 'example.com', 'mail.example.com').
record_types: Comma-separated record types to query. Supported:
A (IPv4 addresses), AAAA (IPv6), MX (mail servers),
TXT (verification, SPF, DKIM), NS (nameservers),
CNAME (aliases), SOA (zone authority). Default: 'A'.
Example: 'A,MX,TXT' to check all email-related records at once.
Returns:
records: List of DNS records, each with type, value, and ttl.
query_time_ms: How long the DNS resolution took.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| record_types | No | A |