GET /dns/reverse
Suorita a reverse DNS (PTR) lookup to find the hostname associated with an IP address. Ottaa an IP address and returns its registered hostname. Hyödyllinen identifying servers by IP, verifying email sender authenticity, security investigations, and network administration tasks where you need to resolve IPs back to domain names.
ip
pakollinen
IP address
| Nimi | Pakollinen | Oletus | Kuvaus |
|---|---|---|---|
ip |
Kyllä | - | IP address |
curl "https://nordapi.ee/api/v1/dns/reverse?ip=8.8.8.8"
curl "https://nordapi.ee/api/v1/dns/reverse?ip=8.8.8.8"
curl "https://nordapi.ee/api/v1/dns/reverse?ip=1.1.1.1"
{
"data": {
"answers": [
{
"data": "dns.google.",
"name": "8.8.8.8.in-addr.arpa.",
"ttl": 12856,
"type": 12
}
],
"comment": null,
"domain": "8.8.8.8.in-addr.arpa",
"status": 0,
"type": "PTR"
},
"success": true
}