Google-Safety
Google safety web crawler bot
About this crawler
Google-Safety is a web crawler identified by the regular-expression pattern Google-Safety in the User-Agent request header. It is categorised as search-engine. Use the regex above to detect, log, allow, or block Google-Safety traffic in your web server, CDN edge rules, or robots.txt.
Block-rate · top 25k sites
No block-rate data for this crawler.
Technical details
- Name
- Google-Safety
- Pattern
Google-Safety- Tags
- search-engine
- Reference
- https://developers.google.com/crawling/docs/crawlers-fetchers/overview-google-crawlers
- Added
- 2023/08/17
- rDNS suffixes
.1e100.net,.googlebot.com,.googleusercontent.com- Instances
- 3 known sample(s)
rDNS verification (FCrDNS)
Verify a request is genuinely Google-Safety with forward-confirmed reverse DNS: the client IP's PTR record must end in one of the suffixes below and a forward A/AAAA lookup of that hostname must return the same IP. UA strings alone are spoofable; FCrDNS is not.
.1e100.net.googlebot.com.googleusercontent.com
Sample User-Agent strings
Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.179 Mobile Safari/537.36 (compatible; Google-Safety; +http://www.google.com/bot.html)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.179 Safari/537.36 (compatible; Google-Safety; +http://www.google.com/bot.html)
Google-Safety
Block this crawler
robots.txt — disallow Google-Safety:
User-agent: Google-Safety
Disallow: /
Apache .htaccess — return 403:
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} Google-Safety [NC]
RewriteRule .* - [F,L]
Nginx — return 403 inside a server block:
if ($http_user_agent ~* "Google-Safety") {
return 403;
}
← back to all crawlers