← Entwicklerwerkzeuge

Reverse DNS

GET /dns/reverse

Durchführen einer reverse DNS (PTR) lookup to find the hostname associated with an IP address. Takes an IP address und returns its registered hostname. Nützlich für identifying servers by IP, verifying email sender authenticity, security investigations, und network administration tasks where you need to resolve IPs back to domain names.

Parameter

ip erforderlich

IP address

Beispielanfragen

Grundlegende Verwendung
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"

Live-Antwort

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