YandexBot (impostor)'s food bowl
the bowl, as bots see itThe bowl is empty.
Identification
Its full user-agent string, exactly as it arrives at the gate:
This is not a real species. It is a costume: requests that use YandexBot's name but fail reverse-DNS or IP-range checks against Yandex's network.
How it was checked: its reverse DNS must end in .yandex.ru or .yandex.net or .yandex.com and resolve back to the same address. Each address is checked when it first visits, and the result is kept for a day.
How to block YandexBot (impostor)
YandexBot (impostor) does not read robots.txt, so a polite sign is wasted on it. Refuse it at your web server or firewall instead. User agents are easy to fake, so pair this with rate limiting.
# robots.txt will not stop YandexBot (impostor). Block it at the server.
# nginx
if ($http_user_agent ~* "Yandex") {
return 403;
}The same thing on Apache:
# Apache (.htaccess)
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} Yandex [NC]
RewriteRule .* - [F,L]Observed behaviour
Most active around 17:00. Office hours, like a professional.
Requested 30 disallowed pages out of 49 requests. Read robots.txt 7 times.
Has never followed the hidden link to /trap/. Either well trained or very lucky.
Where it comes from
Claims to be YandexBot. Real YandexBot traffic comes from Yandex's own network; these visits came from:
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 YandexBot (impostor) respect robots.txt?
Mostly. It reads robots.txt, but it has fetched a disallowed page 30 times out of 49 requests observed here.
Will blocking YandexBot (impostor) hurt my search rankings?
No. Nothing respectable will miss it.
How often does YandexBot (impostor) visit?
Here, about 1 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.