← Arendustööriistad

Pörd-DNS

GET /dns/reverse

Teostage a reverse DNS (PTR) lookup to find the hostname associated with an IP address. Takes an IP address and returns its registered hostname. Kasulik identifying servers by IP, verifying email sender authenticity, security investigations, and network administration tasks where you need to resolve IPs back to domain names.

Parameetrid

ip kohustuslik

IP address

Näidispäringud

Põhikasutus
curl "https://nordapi.ee/api/v1/dns/reverse?ip=8.8.8.8"
Reverse DNS for Google DNS
curl "https://nordapi.ee/api/v1/dns/reverse?ip=8.8.8.8"
Reverse DNS for Cloudflare
curl "https://nordapi.ee/api/v1/dns/reverse?ip=1.1.1.1"

Reaalajas vastus

{
  "data": {
    "answers": [
      {
        "data": "dns.google.",
        "name": "8.8.8.8.in-addr.arpa.",
        "ttl": 12815,
        "type": 12
      }
    ],
    "comment": null,
    "domain": "8.8.8.8.in-addr.arpa",
    "status": 0,
    "type": "PTR"
  },
  "success": true
}