# What is a reverse DNS lookup?

> A reverse DNS lookup finds the hostname for an IP address. With a forward lookup, it confirms that a request that claims to be a crawler came from its operator.

Canonical: https://promptlyfound.com/glossary/reverse-dns
Updated: 2026-12-01

## Short answer

A reverse DNS lookup is **a query that returns the hostname registered for an IP address**. To verify a crawler, a site runs the reverse lookup on the IP address in its logs and checks the domain. Then it runs a forward lookup on that hostname. If the forward lookup returns the same IP, the request came from the operator. Google, Bing and Common Crawl document this check.

## Key findings

- Google says to run a reverse DNS lookup on the IP address, check that the name is in googlebot.com, google.com or googleusercontent.com, then run a forward lookup and confirm that it returns the same IP. [1]
- Common Crawl runs CCBot on dedicated IP ranges with reverse DNS names in crawl.commoncrawl.org, except over IPv6, where reverse DNS is not yet supported. [2]
- Bing's method checks that the reverse lookup returns a name ending in search.msn.com and that a forward lookup of that name returns the same IP address. [3]

Any client can send a crawler's user agent string, so the user agent alone does not prove who sent a request. A reverse DNS lookup ties the IP address of the request to a hostname in a domain that the operator controls.

## How does a reverse DNS lookup work?

A reverse DNS lookup asks which hostname belongs to an IP address. A normal lookup goes from a hostname to an IP address, and a reverse lookup goes the other way. For IPv4, the answer is a pointer (PTR) record stored under the in-addr.arpa domain. [Common Crawl's CCBot page](https://commoncrawl.org/ccbot) shows both lookups with the `host` command:[2]

```
$ host 18.97.14.84
84.14.97.18.in-addr.arpa domain name pointer 18-97-14-84.crawl.commoncrawl.org.
$ host 18-97-14-84.crawl.commoncrawl.org
18-97-14-84.crawl.commoncrawl.org has address 18.97.14.84
```

The first command is the reverse lookup, and it returns a name in crawl.commoncrawl.org. The second command is the forward lookup. It confirms that this hostname points back to the same IP address.

## How do operators use reverse DNS to verify crawlers?

Operators document a two-step check: a reverse lookup, then a forward lookup. [Google's guide to verifying its crawlers](https://developers.google.com/crawling/docs/crawlers-fetchers/verify-google-requests) says to run a reverse lookup on the IP address from the logs and check that the domain is googlebot.com, google.com or googleusercontent.com. Then run a forward lookup on that name and confirm that it matches the original IP address.[1]

[Bing's guide to verifying Bingbot](https://blogs.bing.com/webmaster/2012/08/31/how-to-verify-that-bingbot-is-bingbot) uses the same two steps with names that end in search.msn.com.[3] A request passes only when both lookups agree.

## How does reverse DNS help with AI crawlers?

Reverse DNS is one of two ways to check that a request from a search or AI crawler is real. The other is a list of IP ranges that the operator publishes. Google publishes JSON files of its crawler IP ranges and suggests matching against them for large-scale checks.[1] Common Crawl says it knows of crawlers that falsely identify themselves as CCBot. It offers reverse DNS and a JSON list of CCBot's IP ranges.[2]

Not every AI operator documents a reverse DNS name. [How to verify AI crawlers by IP address and reverse DNS](https://promptlyfound.com/crawlers/verify-ai-crawlers) lists which operators publish IP lists and which document hostnames. The [log analyzer](https://promptlyfound.com/tools/log-analyzer) finds AI crawler requests in a server log and checks each one against the operator's published IP ranges.

## Sources

1. Verify requests from Google crawlers and fetchers. Google for Developers, 2026-11-23. https://developers.google.com/crawling/docs/crawlers-fetchers/verify-google-requests
2. CCBot. Common Crawl. https://commoncrawl.org/ccbot
3. How to Verify that Bingbot is Bingbot. Bing Webmaster Blog, 2012-08-31. https://blogs.bing.com/webmaster/2012/08/31/how-to-verify-that-bingbot-is-bingbot

---

This is a plain-text copy of https://promptlyfound.com/glossary/reverse-dns from Promptly Found. The web page is the canonical version and includes the charts.
