# PTR Record: Reverse DNS

The PTR record of 8.8.8.8: reverse DNS, asked for as 8.8.8.8.in-addr.arpa, answers dns.google.

Source: https://docs.deepinfo.com/reference/lookup/dns/examples/type-ptr/

Last updated: 2026-09-24

---
`GET https://api.deepinfo.com/v1/lookup/dns?domain=8.8.8.8.in-addr.arpa&type=PTR`

The PTR record of 8.8.8.8: reverse DNS, asked for as 8.8.8.8.in-addr.arpa, answers dns.google.

Example 10 of 13 in **Record Types** · [DNS Lookup Examples](/reference/lookup/dns/examples/) · endpoint: [DNS](/reference/lookup/dns/)

Tags: `param` `domain` · `param` `type` · `value` `8.8.8.8.in-addr.arpa` · `value` `PTR`

Asks for the `PTR` record of `8.8.8.8.in-addr.arpa`.

`domain` does not take an IP address, but a reverse-DNS name works: the address's octets in reverse order under `in-addr.arpa`. The answer is the host name of `8.8.8.8`, `dns.google.`.

## Request

| Parameter | In | Value |
|---|---|---|
| `domain` | query | `8.8.8.8.in-addr.arpa` |
| `type` | query | `PTR` |

```bash
curl 'https://api.deepinfo.com/v1/lookup/dns?domain=8.8.8.8.in-addr.arpa&type=PTR' \
  -H 'apikey: YOUR_API_KEY' \
  -H 'Accept: application/json'
```

## Response

### 200 · OK

`Content-Type: application/json` · `ratelimit-limit: 100000` · `ratelimit-remaining: 99990` · `ratelimit-reset: 34` · `x-ratelimit-limit-minute: 100000` · `x-ratelimit-remaining-minute: 99990` · `deepinfo-request-id: 5f0c6a8e-1b2d-4c3e-9f4a-7b8c9d0e1f2a`

```json
{
  "fqdn": "8.8.8.8.in-addr.arpa",
  "requested_types": [
    "PTR"
  ],
  "responses": [
    {
      "type": "PTR",
      "conn_status": "success",
      "rcode": "NOERROR",
      "raw": "8.8.8.8.in-addr.arpa. 1701 IN PTR dns.google.",
      "values": [
        "dns.google."
      ],
      "server": "8.8.8.8"
    }
  ],
  "servers": [
    "8.8.8.8"
  ],
  "check_date": "2026-09-24T07:48:26Z"
}
```

## Related Examples

- [SRV Record of a Service](/reference/lookup/dns/examples/type-srv/)
- [DMARC Policy in a TXT Record](/reference/lookup/dns/examples/dmarc-txt/)
- [CAA Records: Allowed Certificate Authorities](/reference/lookup/dns/examples/type-caa/)
- [DS Record: DNSSEC Delegation](/reference/lookup/dns/examples/type-ds/)
- [SOA Record: Zone Authority](/reference/lookup/dns/examples/type-soa/)
- [DNSKEY Records: DNSSEC Keys](/reference/lookup/dns/examples/type-dnskey/)
