Identification
Its full user-agent string, exactly as it arrives at the gate:
To check a visitor really is Googlebot, run a reverse DNS lookup on its IP address and confirm the hostname ends in .googlebot.com, .google.com, .googleusercontent.com. Then run a forward lookup on that hostname and check it returns the same IP. Anything that fails is an impostor; the zoo checks every visit this way and files the failures in the Trap Room. Read Google's documentation.
How to block Googlebot
Add these two lines to the robots.txt file at the root of your site. Well-behaved crawlers read it before they crawl, so the change applies from Googlebot's next visit. Nothing else on your site needs to change.
# Block Googlebot from the whole site User-agent: Googlebot Disallow: /
Blocking Googlebot removes your pages from Google Search. To opt out of Gemini training only, block the Google-Extended token instead.
Or let it visit but keep it away from part of the site:
# Let it in, but keep it out of one room User-agent: Googlebot Allow: / Disallow: /members/
Observed behaviour
Most active around 15:00. Office hours, like a professional.
Requested 0 disallowed pages out of 29 requests. Read robots.txt 7 times.
Has never followed the hidden link to /trap/. Either well trained or very lucky.
Where it comes from
Requests that use Googlebot's name but fail Google's network check are filed separately, as impostors. These are the visits that passed, or that could not be checked at the time:
Networks and countries come from the visitor's IP address, looked up in a local copy of the DB-IP database. The addresses themselves are never stored.
Keeper's field notes
Questions site owners ask
Does Googlebot respect robots.txt?
Yes. In 29 requests observed here it has read robots.txt and never fetched a disallowed page.
Will blocking Googlebot hurt my search rankings?
Yes, for Google's search engine. Blocked pages can drop out of its results. Other search engines are unaffected.
How often does Googlebot visit?
Here, about 4 requests a day over the last week. Visits to your site depend on its size, how often it changes, and how many links point to it.