{"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,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","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},"links":{"run":"https://pullrow.dev/v1/apis/api_21aa59b0be20deb654d5986d/run","openapi":"https://pullrow.dev/v1/apis/api_21aa59b0be20deb654d5986d/openapi.json","contract":"https://pullrow.dev/v1/apis/api_21aa59b0be20deb654d5986d/contract.json","page":"https://pullrow.dev/catalog/reverse-dns-lookup"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":2,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["Names come from Google Public DNS at the moment of the lookup. When its lookup fails (SERVFAIL), RIPEstat's reverse DNS data is used instead (resolver RIPEstat, no TTL); when both fail the address comes back without a name.","Many addresses have no reverse name, above all home and mobile connections behind shared addresses and new cloud servers; those come back with an empty ptr_hostnames and dns_status NXDOMAIN or NOERROR.","The forward check reads up to three of an address's names; addresses with many names (shared hosting) list up to 20 in ptr_hostnames.","hostname_domain is read from the name itself; two-part country endings such as co.uk are handled for the common ones only.","Up to 1,000 addresses per run, about five addresses a second with the forward check on (requests are spaced out)."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"ip","label":"Ip","description":"The address, in its standard short form.","group":"Basics","shown":true,"written":false},{"name":"ip_version","label":"Ip version","description":"4 or 6.","group":"Basics","shown":true,"written":false},{"name":"hostname","label":"Hostname","description":"The first reverse DNS name of the address, such as dns.google.","group":"Basics","shown":true,"written":false},{"name":"ptr_hostnames","label":"Ptr hostnames","description":"Every reverse DNS name of the address (up to 20).","group":"Basics","shown":true,"written":false},{"name":"hostname_domain","label":"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.","group":"Basics","shown":true,"written":false},{"name":"is_forward_confirmed","label":"Forward confirmed","description":"Yes when a name resolves back to this same address (FCrDNS); empty when there is no name or the check was off.","group":"Basics","shown":true,"written":false},{"name":"forward_addresses","label":"Forward addresses","description":"The addresses the names resolve to (A records for IPv4, AAAA for IPv6).","group":"Basics","shown":true,"written":false},{"name":"ttl","label":"Ttl","description":"How long the reverse DNS answer may be cached, in seconds.","group":"Basics","shown":true,"written":false},{"name":"dns_status","label":"DNS status","description":"DNS answer to the reverse lookup: NOERROR, NXDOMAIN (no reverse name) or SERVFAIL (the reverse zone failed).","group":"Basics","shown":true,"written":false},{"name":"reverse_name","label":"Reverse name","description":"The name that was looked up, such as 8.8.8.8.in-addr.arpa or ...ip6.arpa.","group":"Basics","shown":true,"written":false},{"name":"resolver","label":"Resolver","description":"Where the names came from: Google Public DNS or RIPEstat.","group":"Basics","shown":true,"written":false},{"name":"checked_at","label":"Checked","description":"When the address was looked up (UTC).","group":"Dates","shown":true,"written":false}],"inputs":[{"name":"ips","label":"Ips","help":"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","written":false},{"name":"forward_confirm","label":"Forward confirm","help":"Also check that each host name resolves back to the same address (forward-confirmed reverse DNS).","example":"true","written":false}]}},"incidents":[]}