# Reverse DNS lookup

Category: [Technical SEO](https://seo-geo-glossary.com/en/glossary/category/technical-seo/) › [Servers, HTTP & caching](https://seo-geo-glossary.com/en/glossary/category/technical-seo/servers-http-caching/) · Also known as: reverse DNS, rDNS, PTR lookup

A **reverse DNS lookup** (rDNS) is a DNS query that finds the hostname belonging to an IP address. A normal lookup goes from name to address. The reverse lookup goes from address to name, using a PTR (pointer) record. For SEO, it matters mainly as a way to check whether a request that claims to come from a search engine bot really does.

## How does a reverse DNS lookup work?

Reverse records live in special zones. For IPv4, the address is written in reverse octet order under `in-addr.arpa`: the address `192.0.2.10` is queried as `10.2.0.192.in-addr.arpa`. IPv6 uses the zone `ip6.arpa`. The owner of the IP block, usually a hosting provider or the crawler operator, decides whether to maintain PTR records, which are optional.

## Verifying Googlebot

Google documents a check for requests in server logs:

1. Run a reverse DNS lookup on the IP address from the log.
2. Check that the hostname belongs to `googlebot.com`, `google.com` or `googleusercontent.com`.
3. Run a forward DNS lookup on that hostname and check that it resolves to the same IP address.

The forward lookup is needed because whoever controls an IP block can set any PTR hostname (editorial explanation). Only the real domain's DNS records confirm the match. This pairing is called forward-confirmed reverse DNS.

As an alternative, Google publishes its crawler IP ranges as JSON files in CIDR format, which can be compared with log addresses.

IP addresses in log files can be personal data (CJEU, judgment of 19 October 2016, C-582/14, Breyer). This is not legal advice.

## Example

Invented values for illustration:

```bash
$ host 192.0.2.10
10.2.0.192.in-addr.arpa domain name pointer crawl-192-0-2-10.googlebot.com.

$ host crawl-192-0-2-10.googlebot.com
crawl-192-0-2-10.googlebot.com has address 192.0.2.10
```

Both results match, so the request would count as verified. If the hostname were on another domain, or the forward lookup returned a different address, the request would not be Googlebot.

## Common mistakes

- **Checking only the user agent.** Anyone can claim to be Googlebot in the user agent string. Google describes the check through the accessing IP address.
- **Skipping the way back.** Google lists the forward DNS lookup and the comparison with the original IP address (steps 3 and 4) as part of the procedure.
- **Checking every request by hand.** For automated verification, Google offers JSON files with its IP ranges in CIDR format.

*Diagram: Is it really Googlebot?.* Both DNS lookups have to match. For large-scale lookups, Google recommends matching against its published IP lists automatically. Sample values from Google’s documentation.

## Related terms

- [Bot verification](https://seo-geo-glossary.com/en/glossary/bot-verification/index.md)
- [DNS](https://seo-geo-glossary.com/en/glossary/dns/index.md)
- [Bot traffic](https://seo-geo-glossary.com/en/glossary/bot-traffic/index.md)
- [IP address](https://seo-geo-glossary.com/en/glossary/ip-address/index.md)
- [Googlebot](https://seo-geo-glossary.com/en/glossary/googlebot/index.md)
- [Crawler IP ranges](https://seo-geo-glossary.com/en/glossary/crawler-ip-ranges/index.md)

## Sources

- [Verifying Googlebot and other Google crawlers – Google Search Central](https://developers.google.com/crawling/docs/crawlers-fetchers/verify-google-requests)
- [DNS reverse lookups – Microsoft Learn](https://learn.microsoft.com/en-us/windows-server/networking/dns/reverse-lookup)
- [Reverse DNS lookup – Wikipedia](https://en.wikipedia.org/wiki/Reverse_DNS_lookup)
- [Domain Names, RFC 1035](https://www.rfc-editor.org/rfc/rfc1035.html)
- [CJEU, judgment of 19 October 2016, C-582/14 (Breyer) – EUR-Lex](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:62014CJ0582)

---

Last updated: October 8, 2026
URL: https://seo-geo-glossary.com/en/glossary/reverse-dns-lookup/
