GET /dns/lookup
Realice DNS record lookups para cualquier domain name. Compatible con all major record types: A (IPv4 address), AAAA (IPv6), MX (mail servers), CNAME (canonical name), TXT (text records including SPF/DKIM), NS (nameservers), and SOA (start of authority). Útil para domain troubleshooting tools, email deliverability checkers, DNS monitoring dashboards, and network administration utilities.
domain
requerido
Domain
type
opcional
predeterminado: A
Record type
| Nombre | Requerido | Predeterminado | Descripcion |
|---|---|---|---|
domain |
Si | - | Domain |
type |
No | A | Record type |
curl "https://nordapi.ee/api/v1/dns/lookup?domain=nordapi.ee&type=A"
curl "https://nordapi.ee/api/v1/dns/lookup?domain=nordapi.ee&type=A"
curl "https://nordapi.ee/api/v1/dns/lookup?domain=gmail.com&type=MX"
curl "https://nordapi.ee/api/v1/dns/lookup?domain=google.com&type=TXT"
{
"data": {
"answers": [
{
"data": "37.27.245.105",
"name": "nordapi.ee.",
"ttl": 3600,
"type": 1
}
],
"comment": "Response from 2a02:29e9:30:53::a.",
"domain": "nordapi.ee",
"status": 0,
"type": "A"
},
"success": true
}