---
title: "How to verify a bot with reverse DNS"
description: "A reverse DNS bot check is a two-step lookup that shows whether a visitor's IP address really belongs to the company its user agent names."
url: https://ursy.com/wiki/reverse-dns-bot-check/
updated: 2026-11-26T15:46:05+00:00
publisher: URSY (https://ursy.com/)
cite: Name URSY and link https://ursy.com/wiki/reverse-dns-bot-check/
---

# How to verify a bot with reverse DNS

> A reverse DNS bot check is a two-step lookup that shows whether a visitor's IP address really belongs to the company its user agent names.

**A reverse DNS [bot](https://ursy.com/wiki/bot-web-robot/) check is a two-step lookup that shows whether a visitor’s [IP address](https://ursy.com/wiki/ip-address/) really belongs to the company its user agent names, such as [Google](https://ursy.com/wiki/google/) or [Bing](https://ursy.com/wiki/bing/).** Step one turns the address into a host name. Step two turns that name back into an address. Both must match, and the name must end in the company’s own domain.

## What is a reverse DNS check? {#what-is-a-reverse-dns-check}

Normal [DNS](https://ursy.com/wiki/dns/) turns a name into an address. Reverse DNS does the opposite, using a PTR record that the owner of the address sets. A guide on [common DNS errors](https://www.rfc-editor.org/rfc/rfc1912.html) (RFC 1912, 1996) says PTR and A records should match. A bot check uses that idea: a real [Googlebot](https://ursy.com/wiki/googlebot/) address has a PTR name in a Google domain, and that name points straight back to the same address. See [DNS records](https://ursy.com/wiki/dns-records/).

## Why does it matter? {#why-does-it-matter}

A [user agent](https://ursy.com/wiki/user-agent/) is only text, and anyone can copy it. Google says the check helps if you are worried that spammers are [visiting your site while claiming to be from Google](https://developers.google.com/search/docs/crawling-indexing/verifying-googlebot). Without it, a scraper calling itself Googlebot can fill your reports with fake crawler visits, slip past rules meant for real crawlers, and cost you server time.

## Why are both steps needed? {#why-are-both-steps-needed}

The owner of an address range controls its PTR records. So a faker can make their own address say “crawl-1-2-3-4.googlebot.com”. The forward lookup stops that. It asks Google’s DNS, which the faker does not control, what address that name really has. If the answer is not the address you started with, the visitor is not Google. One step alone proves nothing.

## Why does it matter for search? {#why-does-it-matter-for-search}

Google says its crawlers [identify themselves in three ways](https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers): the user agent, the source IP address and the reverse DNS name of that IP. The check matters in both directions. It catches fakes. It also stops you blocking the real Googlebot by mistake with a firewall or [rate limiting](https://ursy.com/wiki/rate-limiting/) rule, which would cut pages out of the [search index](https://ursy.com/wiki/search-engine-index/). See [search crawler](https://ursy.com/wiki/search-crawler/) and [blocking Googlebot by accident](https://ursy.com/wiki/cloudflare-blocking-googlebot/).

## Why does it matter for AI answers? {#why-does-it-matter-for-ai-answers}

AI companies send several bots: [training crawlers](https://ursy.com/wiki/training-crawler/), search crawlers and [live fetchers](https://ursy.com/wiki/live-fetcher/) that visit when a person asks a question. Names such as [GPTBot](https://ursy.com/wiki/gptbot/) and [ClaudeBot](https://ursy.com/wiki/claudebot/) are only text, like any user agent, so a count by name alone can include fakes. Most AI companies do not offer reverse DNS. They publish IP lists instead, so the check becomes a list match. Either way, the goal is the same: know which [AI crawlers](https://ursy.com/wiki/ai-crawler/) really read your pages.

## How do I run it? {#how-do-i-run-it}

Google’s [verification page](https://developers.google.com/search/docs/crawling-indexing/verifying-googlebot) gives four steps:

1. Run a reverse DNS lookup on the IP address from your logs, using the `host` command.
2. Check the name ends in `googlebot.com`, `google.com` or `googleusercontent.com`.
3. Run a forward DNS lookup on that name.
4. Check it gives back the same IP address you started with.

Google’s own example:

```
host 66.249.66.1
1.66.249.66.in-addr.arpa domain name pointer crawl-66-249-66-1.googlebot.com.

host crawl-66-249-66-1.googlebot.com
crawl-66-249-66-1.googlebot.com has address 66.249.66.1
```

On Windows, `nslookup` does the same job. Bing’s check works the same way, with names that end in `search.msn.com`, as its [webmaster blog](https://blogs.bing.com/webmaster/August-2012/How-to-Verify-that-Bingbot-is-Bingbot/) showed on 31 August 2012:

```
nslookup 157.55.33.18
nslookup msnbot-157-55-33-18.search.msn.com
```

## Which names should I expect from Google? {#which-names-should-i-expect-from-google}

Google’s page lists a name pattern for each type of crawler (checked 24 November 2026):

| Google crawler type | Reverse DNS name looks like | IP list file |
| --- | --- | --- |
| Common crawlers, such as Googlebot | crawl-***-***-***-***.googlebot.com or geo-crawl-***-***-***-***.geo.googlebot.com | common-crawlers.json |
| Special-case crawlers, such as AdsBot | rate-limited-proxy-***-***-***-***.google.com | special-crawlers.json |
| User-triggered fetchers | google-proxy-***-***-***-***.google.com or ***-***-***-***.gae.googleusercontent.com | user-triggered-fetchers.json and user-triggered-fetchers-google.json |

Google says fetchers that run on Google Cloud use the gae.googleusercontent.com names. For those, match the address against the user-triggered fetcher lists as well.

## Which companies support which check? {#which-companies-support-which-check}

| Company | Reverse DNS | Published IP list |
| --- | --- | --- |
| Google | Yes: googlebot.com, google.com, googleusercontent.com | Yes, JSON files per crawler type |
| Microsoft Bing | Yes: search.msn.com | Not covered in the 2012 post |
| Apple | Yes: [*.applebot.apple.com](https://support.apple.com/en-us/119829) | Yes, applebot.json |
| OpenAI | Not mentioned | Yes: [gptbot.json, searchbot.json, chatgpt-user.json](https://developers.openai.com/api/docs/bots) |
| Anthropic | Not mentioned | Yes: [one published list](https://support.claude.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler) |
| [Perplexity](https://ursy.com/wiki/perplexity/) | Not mentioned | Yes: [perplexitybot.json, perplexity-user.json](https://docs.perplexity.ai/guides/bots) |

Each row is from the company’s own page, checked 24 November 2026. For Apple’s AI training control, see [Applebot-Extended](https://ursy.com/wiki/applebot-extended/); Apple says it does not crawl pages itself.

## What if a bot is not set up for reverse DNS? {#what-if-a-bot-is-not-set-up-for-reverse-dns}

Match the address against the IP ranges the company publishes. Google also says to use an automatic match against its lists for large numbers of lookups, and keep the DNS check for one-off checks. If the company publishes neither a DNS name nor a list, the honest answer is “unknown”, not “fake”. See [verified bots](https://ursy.com/wiki/verified-bots/).

## Common mistakes {#common-mistakes}

- Doing only the reverse step. A faker controls their own PTR record.
- Checking that the name contains “google” instead of ending in a Google domain. A name like googlebot.com.example.net would pass a “contains” test.
- Running a live lookup on every request. It adds delay; use the IP lists at scale.
- Trusting an old copy of an IP list. Lists change; refresh them.
- Blocking every bot that fails, including useful ones that publish nothing, such as link previews.
- Forgetting IPv6 addresses, which use ip6.arpa for reverse lookups.

## A worked example {#a-worked-example}

Your [server logs](https://ursy.com/wiki/server-logs/) show two visits that both say “Googlebot”. Visit A uses Google’s own example address. Visit B’s address is an invented example.

| Step | Visit A: 66.249.66.1 | Visit B: 203.0.113.7 |
| --- | --- | --- |
| Reverse lookup | crawl-66-249-66-1.googlebot.com | No name, or a name in another domain |
| Ends in a Google domain? | Yes | No |
| Forward lookup | 66.249.66.1 | Not needed |
| Verdict | Real Googlebot | Not Googlebot |

Visit A passes both steps. Visit B is a fake: count it as another machine, and consider a firewall rule if it floods the site. See [web application firewall](https://ursy.com/wiki/web-application-firewall/) and [DDoS attack](https://ursy.com/wiki/ddos-attack/).

## How to check it {#how-to-check-it}

1. **Find the visitor.**  Pull the IP address and user agent from your [server logs](https://ursy.com/wiki/server-logs/). Bots do not run analytics scripts, so they are missing from browser reports; see [bot traffic in analytics](https://ursy.com/wiki/bot-traffic-in-analytics/).
2. **Test one address.**  Paste it into [Verify an AI Bot](https://ursy.com/verify-ai-bot/). It checks the address against the companies’ published lists and by reverse DNS.
3. **Test a whole log.**  The [AI Crawler Log Analyser](https://ursy.com/ai-crawler-log-analyzer/) reads a log file in your browser and shows which AI bots read what.
4. **Check what you allow.**  The [Robots.txt Checker](https://ursy.com/robots-txt-checker/) tests your rules, and the [AI Bot Checker](https://ursy.com/ai-bot-checker/) shows which AI bots they let in, such as GPTBot, ClaudeBot and [PerplexityBot](https://ursy.com/wiki/perplexitybot/). Read [which AI crawlers to allow and which to block](https://ursy.com/wiki/block-ai-crawlers/).
5. **Check the edge does not block real bots.**  The [HTTP Header Checker](https://ursy.com/http-header-checker/) shows the status a page returns. Review settings such as [Bot Fight Mode](https://ursy.com/wiki/cloudflare-bot-fight-mode/), a [managed challenge](https://ursy.com/wiki/managed-challenge/) and your [bot score](https://ursy.com/wiki/bot-score/) rules.
6. **Score the set-up.**  The [AI Readiness Checker](https://ursy.com/ai-readiness-checker/) looks at the AI signals together, the [llms.txt Checker](https://ursy.com/llms-txt-checker/) tests your [llms.txt](https://ursy.com/wiki/llms-txt/), and [Compare Two Websites](https://ursy.com/compare-websites/) sets your result beside a rival’s.
7. **Watch it every day.**  In URSY Pro, opening in stages: the [Bot verification log](https://ursy.com/pro/bot-verification-log/) checks every bot visit against published IP lists, the [Fake bot detector](https://ursy.com/pro/fake-bot-detector/) finds bots pretending to be Google or GPTBot, [AI bot analytics](https://ursy.com/pro/ai-bot-analytics/) shows which AI bots read which pages, [Bot cost](https://ursy.com/pro/bot-cost/) shows the server time each bot uses, and the [Bot rules manager](https://ursy.com/pro/bot-rules-manager/) writes your allow and block rules.

## What URSY.com counts {#what-ursy-counts}

We compare each bot request’s address with 18 official IP lists from Google, Bing, OpenAI, Anthropic, Perplexity, Apple, [DuckDuckGo](https://ursy.com/wiki/duckduckgo/), Common Crawl and Mistral, refreshed weekly. Each request is marked real, fake or unknown. Our log check does not use reverse DNS; our Verify an AI Bot tool does. The full address is used in memory only, then cut to its [network block](https://ursy.com/wiki/network-block/). See our [methodology](https://ursy.com/methodology/).

## Questions {#questions}

### Can I verify a bot without command-line tools? {#can-i-verify-a-bot-without-command-line-tools}

Yes. Paste the address into a verification tool such as ours, or match it against the company’s published list.

### Does a failed check always mean a fake? {#does-a-failed-check-always-mean-a-fake}

Only if the company publishes a DNS name or a list. If it publishes nothing, the answer is unknown.

### How often do the IP lists change? {#how-often-do-the-ip-lists-change}

Each file carries its own creation time. A list that changes between your refreshes can make a real bot look fake, so refresh your copy often. Ours refreshes weekly.

### Can I verify ChatGPT or Claude with reverse DNS? {#can-i-verify-chatgpt-or-claude-with-reverse-dns}

Their crawler pages do not describe it. Use the IP lists OpenAI and Anthropic publish.

### Does verifying slow my site down? {#does-verifying-slow-my-site-down}

A live DNS lookup on every request can add delay. Google suggests DNS lookups for one-off checks and an automatic match against its IP lists for checks at scale. You can also verify from the log afterwards, not while the page loads.

## Related words {#related-words}

- [Verified bots](https://ursy.com/wiki/verified-bots/)
- [User agent](https://ursy.com/wiki/user-agent/)
- [Server logs](https://ursy.com/wiki/server-logs/)
- [DNS](https://ursy.com/wiki/dns/)
- [Bot visit](https://ursy.com/wiki/bot-visit/)
- [AI crawler](https://ursy.com/wiki/ai-crawler/)
- [Search crawler](https://ursy.com/wiki/search-crawler/)
- [Observed vs inferred data](https://ursy.com/wiki/observed-vs-inferred-data/)
- [Network block](https://ursy.com/wiki/network-block/)

## Sources {#sources}

- [Google Search Central: Verifying Googlebot and other Google crawlers](https://developers.google.com/search/docs/crawling-indexing/verifying-googlebot), checked 24 November 2026
- [Google Search Central: Overview of Google crawlers and fetchers](https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers), checked 24 November 2026
- [Bing Webmaster Blog: How to verify that Bingbot is Bingbot (31 August 2012)](https://blogs.bing.com/webmaster/August-2012/How-to-Verify-that-Bingbot-is-Bingbot/), checked 24 November 2026
- [Apple Support: About Applebot](https://support.apple.com/en-us/119829), checked 24 November 2026
- [OpenAI: Overview of OpenAI crawlers](https://developers.openai.com/api/docs/bots), checked 24 November 2026
- [Claude Help Center: Does Anthropic crawl data from the web?](https://support.claude.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler), checked 24 November 2026
- [Perplexity: Perplexity crawlers](https://docs.perplexity.ai/guides/bots), checked 24 November 2026
- [RFC 1912: Common DNS Operational and Configuration Errors](https://www.rfc-editor.org/rfc/rfc1912.html), checked 24 November 2026

*Updated 24 November 2026 by URSY.com.*
