Skip to the content
Start free

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, such as Google or 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? #

Normal 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 (RFC 1912, 1996) says PTR and A records should match. A bot check uses that idea: a real Googlebot address has a PTR name in a Google domain, and that name points straight back to the same address. See DNS records.

Why does it matter? #

A 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. 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? #

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.

Google says its crawlers identify themselves in three ways: 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 rule, which would cut pages out of the search index. See search crawler and blocking Googlebot by accident.

Why does it matter for AI answers? #

AI companies send several bots: training crawlers, search crawlers and live fetchers that visit when a person asks a question. Names such as GPTBot and 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 really read your pages.

How do I run it? #

Google’s verification page 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 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? #

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? #

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 Yes, applebot.json
OpenAI Not mentioned Yes: gptbot.json, searchbot.json, chatgpt-user.json
Anthropic Not mentioned Yes: one published list
Perplexity Not mentioned Yes: perplexitybot.json, perplexity-user.json

Each row is from the company’s own page, checked 24 November 2026. For Apple’s AI training control, see Applebot-Extended; Apple says it does not crawl pages itself.

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.

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 #

Your 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 and DDoS attack.

How to check it #

  1. Find the visitor. Pull the IP address and user agent from your server logs. Bots do not run analytics scripts, so they are missing from browser reports; see bot traffic in analytics.
  2. Test one address. Paste it into Verify an 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 reads a log file in your browser and shows which AI bots read what.
  4. Check what you allow. The Robots.txt Checker tests your rules, and the AI Bot Checker shows which AI bots they let in, such as GPTBot, ClaudeBot and PerplexityBot. Read which AI crawlers to allow and which to block.
  5. Check the edge does not block real bots. The HTTP Header Checker shows the status a page returns. Review settings such as Bot Fight Mode, a managed challenge and your bot score rules.
  6. Score the set-up. The AI Readiness Checker looks at the AI signals together, the llms.txt Checker tests your llms.txt, and Compare Two Websites sets your result beside a rival’s.
  7. Watch it every day. In URSY Pro, opening in stages: the Bot verification log checks every bot visit against published IP lists, the Fake bot detector finds bots pretending to be Google or GPTBot, AI bot analytics shows which AI bots read which pages, Bot cost shows the server time each bot uses, and the Bot rules manager writes your allow and block rules.

What URSY.com counts #

We compare each bot request’s address with 18 official IP lists from Google, Bing, OpenAI, Anthropic, Perplexity, Apple, 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. See our methodology.

Questions #

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? #

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? #

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? #

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

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.

Sources #

Updated 24 November 2026 by URSY.com.

Cite this page: How to verify a bot with reverse DNS. URSY. Updated 26 November 2026. https://ursy.com/wiki/reverse-dns-bot-check/ · Section links

Tools for this

  • LiveVerify an AI Botis it really GPTBot? IP, published lists and user agentRun the check →
  • LiveAI Bot Checkerwhich AI bots your robots.txt lets inRun the check →
  • LiveAI Crawler Log Analyserdrop in your server log, see which AI bots read what (in browser)Run the check →
  • LiveCan Google index this page? (noindex, robots, canonical, status)Run the check →
  • LiveRobots.txt Checker + Generatortest any address against your rules, or write new onesRun the check →
  • LiveHTTP Header Checker (cache, status, X-Robots-Tag)Run the check →
  • ProAI bot analyticsWhich AI bots read which pages, checked real or fakeIn URSY Pro →
  • ProBot verification logEvery bot visit, verified against published IP listsIn URSY Pro →
  • ProWhat AI readsAI reads of llms.txt, .md, .json, images, feedsIn URSY Pro →

All 871 wiki entries, A to Z →