Manual (command line)
- Best for
- One-off lookups. Google calls it sufficient for most use cases
- What you do
- Reverse DNS on the IP, check the domain, forward DNS, compare
Verify a Googlebot request with reverse and forward DNS, or match the IP against Google's published JSON ranges. Commands and a script to copy.
GooglebotMozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Googlebot/2.1; +http://www.google.com/bot.html) Chrome/W.X.Y.Z Safari/537.36To verify Googlebot, run a reverse DNS lookup on the IP from your logs and check that the name is googlebot.com, google.com or googleusercontent.com. Then run a forward lookup on that name and confirm it returns the same IP. Or match the IP against Google's published ranges in common-crawlers.json. The user agent alone proves nothing.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
user-agent header "is often spoofed by other crawlers". It names two methods: a reverse DNS lookup, or matching the source IP against Google's published ranges.These are Google's own examples. The first is a Googlebot IP, and the second is a geo-located one:
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
host 35.247.243.240
240.243.247.35.in-addr.arpa domain name pointer geo-crawl-35-247-243-240.geo.googlebot.com.
host geo-crawl-35-247-243-240.geo.googlebot.com
geo-crawl-35-247-243-240.geo.googlebot.com has address 35.247.243.240Run host on the accessing IP address from your logs.
Confirm the name is on googlebot.com, google.com or googleusercontent.com.
Run host on the name you got in step 1.
Confirm the result is the same as the original IP from your logs.
common-crawlers.json, and Google says they "generally crawl from the IP ranges published" there. Special crawlers like AdsBot, user-triggered fetchers and user-triggered agents each have their own file. Other Google IPs, for example from Apps Script, are covered by a general list of Google IP addresses.When we opened the file, it held a creationTime of 2026-10-23T14:45:59 and a prefixes list whose entries each carry an ipv4Prefix or an ipv6Prefix. This script checks one IP against it:
IP=66.249.66.1
curl -sL https://developers.google.com/static/crawling/ipranges/common-crawlers.json | python3 -c "import sys,json,ipaddress as i;ip=i.ip_address('$IP');print(any(ip in i.ip_network(p.get('ipv4Prefix') or p['ipv6Prefix']) for p in json.load(sys.stdin)['prefixes']))"Use curl -L. When we requested the older https://developers.google.com/search/apis/ipranges/googlebot.json path, it answered with a redirect to /static/crawling/ipranges/common-crawlers.json, so a script that doesn't follow redirects can silently read nothing. Point new scripts at common-crawlers.json directly.
https://developers.google.com/static/crawling/ipranges/common-crawlers.jsonList the IPs that claim to be Googlebot in your access log, then run the reverse lookup on the busiest ones. Anything that fails the forward check is not Googlebot, whatever its user agent says.
grep -i 'Googlebot' access.log | awk '{print $1}' | sort | uniq -c | sort -rn | headgrep -i 'Googlebot' access.log | awk '{print $1}' | sort -u | head -20 | while read ip; do echo "== $ip"; host "$ip"; doneLook for names on googlebot.com. For any that don't match, forward-resolve the name and compare it with the IP before you decide anything. If you plan to block, read the bad bots guide first. Google warns that blocking Googlebot affects Google Search, including Discover and all Google Search features, as well as Google Images, Video and News.
Google says the HTTP user agent string can be spoofed, and that Googlebot's is often spoofed by other crawlers. Verify the IP before a firewall rule trusts it.
Google's wording for common crawlers is that they "generally crawl from" the published ranges, so pair range matching with the reverse DNS check when a decision matters.
Special-case and user-triggered fetchers have separate ranges and hostname masks. Google says user-triggered fetchers ignore robots.txt rules because a user requested the fetch.
It tells you who is asking. What a crawler may fetch is still set by your robots.txt. See the Googlebot profile for tokens and user agents, and Bingbot for Microsoft's equivalent check.
4 questions people ask next, answered from the sources on this page.
There is no single address. Google publishes ranges in CIDR format in common-crawlers.json, and says common crawlers generally crawl from them. Reverse DNS names look like crawl-*-*-*-*.googlebot.com.
Run a reverse DNS lookup with host, confirm the domain is googlebot.com, google.com or googleusercontent.com, then run a forward lookup on that name and confirm it returns the same IP.
In common-crawlers.json at developers.google.com/static/crawling/ipranges/. Google also publishes separate JSON files for special crawlers and user-triggered fetchers.
No. Google says the HTTP user agent string can be spoofed, and that Googlebot's is often spoofed by other crawlers. Verify the IP with reverse DNS or the published ranges.
The free audit reads your robots.txt and checks AI visibility in ChatGPT, Perplexity, Gemini and Google AI Overviews.