UtilityActive
DNS Lookup
Resolve DNS records for any domain. Supports A, AAAA, MX, TXT, CNAME, NS. Returns records object with array per type. Default: A records only. Use to verify mail server setup (MX), check domain ownership (TXT), or debug DNS propagation.
Input Schema
{
"type": "object",
"required": [
"domain"
],
"properties": {
"domain": {
"type": "string",
"description": "Domain name to look up (e.g. 'example.com', 'mail.google.com')"
},
"types": {
"type": "array",
"items": {
"type": "string",
"enum": [
"A",
"AAAA",
"MX",
"TXT",
"CNAME",
"NS"
]
},
"default": [
"A"
],
"description": "DNS record types to resolve. Default: [\"A\"]. Supported: A, AAAA, MX, TXT, CNAME, NS"
}
}
}
Output Schema
{
"type": "object",
"required": [
"domain",
"records",
"resolved_at"
],
"properties": {
"domain": {
"type": "string",
"description": "The queried domain name"
},
"records": {
"type": "object",
"description": "Map of DNS record type → array of records",
"properties": {
"A": {
"type": "array",
"items": {
"type": "string"
},
"description": "IPv4 addresses"
},
"AAAA": {
"type": "array",
"items": {
"type": "string"
},
"description": "IPv6 addresses"
},
"MX": {
"type": "array",
"items": {
"type": "object",
"properties": {
"priority": {
"type": "integer"
},
"exchange": {
"type": "string"
}
}
},
"description": "Mail exchange records"
},
"TXT": {
"type": "array",
"items": {
"type": "string"
},
"description": "TXT records (joined entries)"
},
"CNAME": {
"type": "array",
"items": {
"type": "string"
},
"description": "Canonical name records"
},
"NS": {
"type": "array",
"items": {
"type": "string"
},
"description": "Nameserver records"
}
}
},
"resolved_at": {
"type": "string",
"format": "date-time",
"description": "ISO 8601 timestamp of the lookup"
}
},
"example": {
"domain": "example.com",
"records": {
"A": [
"93.184.216.34"
],
"MX": [
{
"priority": 10,
"exchange": "mail.example.com"
}
]
},
"resolved_at": "2026-04-07T12:00:00.000Z"
}
}