Menu

Gray Matter

Close

Yandex Network IP Address Ranges in Russia and Elsewhere

RT Cunningham | August 11, 2020 (UTC) | Web Development

Yandex NetworkYandex is the largest search engine in the Russian Federation. The last time I checked, it had a 60 percent market share in that country. It has other services as well, including free e-mail.

If you want to block Yandex IP addresses, or simply reroute requests, I’m giving you the IP address ranges you need.

Yandex IP Address Standard Ranges

Russia:

5.45.192.0-5.45.255.255
5.255.192.0-5.255.255.255
37.9.64.0-37.9.127.255
37.140.128.0-37.140.191.255
77.88.0.0-77.88.63.255
84.201.128.0-84.201.191.255
87.250.224.0-87.250.255.255
93.158.128.0-93.158.191.255
95.108.128.0-95.108.255.255
130.193.32.0-130-193.63.255
141.8.128.0-141.8.191.255
178.154.128.0-178.154.255.255
213.180.192.0-213.180.223.255

USA:

100.43.64.0-100.43.95.255
199.21.96.0-199.21.99.255

Yandex IP Address CIDR Ranges

Russia:

5.45.192.0/18
5.255.192.0/18
37.9.64.0/18
37.140.128.0/18
77.88.0.0/18
84.201.128.0/18
87.250.224.0/19
93.158.128.0/18
95.108.128.0/17
130.193.32.0/19
141.8.128.0/18
178.154.128.0/17
213.180.192.0/19

USA:

100.43.64.0/19
199.21.96.0/22

Yandex User Agents

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.

Why Block Yandex?

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.

Photo Attribution: © Francis C. Franklin / CC-BY-SA-3.0 / CC BY-SA
Edited and updated. Originally published at one of my other websites in February 2018.

Share: Facebook | Twitter


Gray Matter
Copyright © 2020
RT Cunningham

Comments Policy

Privacy Policy