{"api":{"id":"api_21aa59b0be20deb654d5986d","slug":"reverse-dns-lookup","name":"Reverse DNS (PTR) Lookup","description":"The reverse DNS host names of IPv4 and IPv6 addresses in bulk: PTR names, the domain behind them (ISP, mail server, hosting company) and an optional forward check that the name points back to the same address (FCrDNS). One record per address, also when it has no name.","kind":"ready_made","visibility":"public","domain":"dns.google","source_url":"https://dns.google/resolve","category":"developer","record_type":"generic","active_version":"1.0","units_per_1k":2000,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":12,"created_at":"2026-12-06T03:33:09.248Z","updated_at":"2026-12-06T03:33:09.248Z","runnable":true},"version":"1.0","contract_hash":"14e2fd0c900fd89f492d7b5c32ff6812d14e7af507cd21a51a617f10407afdea","fields":[{"name":"ip","type":"string","description":"The address, in its standard short form.","required":true,"coverage":1,"example":"8.8.8.8"},{"name":"ip_version","type":"integer","description":"4 or 6.","required":false,"coverage":1,"example":4},{"name":"hostname","type":"string","description":"The first reverse DNS name of the address, such as dns.google.","required":false,"coverage":1,"example":"dns.google"},{"name":"ptr_hostnames","type":"array","description":"Every reverse DNS name of the address (up to 20).","required":false,"coverage":1,"example":["dns.google"]},{"name":"hostname_domain","type":"string","description":"The domain the first name belongs to, such as comcast.net or amazonaws.com: usually the ISP, hosting company or mail provider.","required":false,"coverage":1,"example":"dns.google"},{"name":"is_forward_confirmed","type":"boolean","description":"True when a name resolves back to this same address (FCrDNS); empty when there is no name or the check was off.","required":false,"coverage":1,"example":true},{"name":"forward_addresses","type":"array","description":"The addresses the names resolve to (A records for IPv4, AAAA for IPv6).","required":false,"coverage":1,"example":["8.8.4.4","8.8.8.8"]},{"name":"ttl","type":"integer","description":"How long the reverse DNS answer may be cached, in seconds.","required":false,"coverage":1,"example":2746},{"name":"dns_status","type":"string","description":"DNS answer to the reverse lookup: NOERROR, NXDOMAIN (no reverse name) or SERVFAIL (the reverse zone failed).","required":false,"coverage":1,"example":"NOERROR"},{"name":"reverse_name","type":"string","description":"The name that was looked up, such as 8.8.8.8.in-addr.arpa or ...ip6.arpa.","required":false,"coverage":1,"example":"8.8.8.8.in-addr.arpa"},{"name":"resolver","type":"string","description":"Where the names came from: Google Public DNS or RIPEstat.","required":false,"coverage":1,"example":"Google Public DNS"},{"name":"checked_at","type":"datetime","description":"When the address was looked up (UTC).","required":false,"coverage":1,"example":"2026-12-06T03:06:33.147Z"}],"inputs":[{"name":"ips","type":"array","description":"IPv4 or IPv6 addresses to look up, such as [\"8.8.8.8\", \"2001:4860:4860::8888\"]. Repeats are read once.","example":["8.8.8.8","1.1.1.1"],"required":true},{"name":"forward_confirm","type":"boolean","description":"Also check that each host name resolves back to the same address (forward-confirmed reverse DNS).","default":true,"example":true}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"checked_at":{"description":"When the address was looked up (UTC).","format":"date-time","type":"string"},"dns_status":{"description":"DNS answer to the reverse lookup: NOERROR, NXDOMAIN (no reverse name) or SERVFAIL (the reverse zone failed).","type":"string"},"forward_addresses":{"description":"The addresses the names resolve to (A records for IPv4, AAAA for IPv6).","type":"array"},"hostname":{"description":"The first reverse DNS name of the address, such as dns.google.","type":"string"},"hostname_domain":{"description":"The domain the first name belongs to, such as comcast.net or amazonaws.com: usually the ISP, hosting company or mail provider.","type":"string"},"ip":{"description":"The address, in its standard short form.","type":"string"},"ip_version":{"description":"4 or 6.","type":"integer"},"is_forward_confirmed":{"description":"True when a name resolves back to this same address (FCrDNS); empty when there is no name or the check was off.","type":"boolean"},"ptr_hostnames":{"description":"Every reverse DNS name of the address (up to 20).","type":"array"},"resolver":{"description":"Where the names came from: Google Public DNS or RIPEstat.","type":"string"},"reverse_name":{"description":"The name that was looked up, such as 8.8.8.8.in-addr.arpa or ...ip6.arpa.","type":"string"},"ttl":{"description":"How long the reverse DNS answer may be cached, in seconds.","type":"integer"}},"required":["ip"],"title":"Reverse DNS (PTR) Lookup","type":"object"},"samples":[{"ip":"8.8.8.8","ip_version":4,"hostname":"dns.google","ptr_hostnames":["dns.google"],"hostname_domain":"dns.google","is_forward_confirmed":true,"forward_addresses":["8.8.4.4","8.8.8.8"],"ttl":2746,"dns_status":"NOERROR","reverse_name":"8.8.8.8.in-addr.arpa","resolver":"Google Public DNS","checked_at":"2026-12-06T03:06:33.147Z"},{"ip":"1.1.1.1","ip_version":4,"hostname":"one.one.one.one","ptr_hostnames":["one.one.one.one"],"hostname_domain":"one.one","is_forward_confirmed":true,"forward_addresses":["1.1.1.1","1.0.0.1"],"ttl":1678,"dns_status":"NOERROR","reverse_name":"1.1.1.1.in-addr.arpa","resolver":"Google Public DNS","checked_at":"2026-12-06T03:06:32.894Z"},{"ip":"9.9.9.9","ip_version":4,"hostname":"dns9.quad9.net","ptr_hostnames":["dns9.quad9.net"],"hostname_domain":"quad9.net","is_forward_confirmed":true,"forward_addresses":["9.9.9.9","149.112.112.9"],"ttl":6615,"dns_status":"NOERROR","reverse_name":"9.9.9.9.in-addr.arpa","resolver":"Google Public DNS","checked_at":"2026-12-06T03:06:41.292Z"}],"validation":{"checked_at":"2026-12-06T03:33:09.177Z","field_coverage":{"checked_at":1,"dns_status":1,"forward_addresses":1,"hostname":1,"hostname_domain":1,"ip":1,"ip_version":1,"is_forward_confirmed":1,"ptr_hostnames":1,"resolver":1,"reverse_name":1,"ttl":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T03:33:09.248Z","activated_at":"2026-12-06T03:33:09.248Z","active":true,"contract_hash":"14e2fd0c900fd89f492d7b5c32ff6812d14e7af507cd21a51a617f10407afdea","fields_count":12}]}