If you want to block Yandex IP addresses, or simply reroute requests, I’m giving you the IP address ranges you need.
If you use “YandexBot” to block or reroute requests, you’ll get most of them but not all. Yandex uses other user agents. One includes “YandexAntivirus” and another includes “YandexDirect”. There are probably more.
Many search engines will masquerade as web browsers. The user agents won’t show you who they are. I’m sure Yandex does this as well. If you go by user agents only, you’ll miss a lot of them. It’s a good idea to use the known IP address ranges along with the correct user agents.
I don’t know why they cloak themselves but I can guess. They may be trying to find out if website owners are showing the same things to bots as they show to people. They may just be trying to get past filters.
I don’t allow any of the bots on my site. Until recently I only used “Yandex” as the user agent. It caught all the bots that identified themselves but not those who didn’t. I’m now using all the CIDR ranges I listed above.
I’ll be sure to update this article if I find more of their IP address ranges.
Contrary to popular belief and TV and movie representation, very few Russians can speak English. Out of those very few, it’s extremely unlikely that any will visit my website.
I prefer writing like I speak as much as possible. It’s American English with contractions and a little slang here and there. If Russians living in the United States want to read an article, they’ll need a translation service (like Google Translate) regardless of what search engine they use.
I block the Russian Federation completely, as well as neighboring Ukraine. Many IP addresses published as Ukraine are actually Russian and vice-versa. If you don’t want to block them, you can at least block the search engine user agents and IP addresses. Yandex is only one of a few search engines in the Russian Federation, but probably the most aggressive.