Menu

RTCX

Close

Yandex Network IP Address Ranges in both Russia and the USA

Yandex Yandex has 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 going to give 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

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 cloak themselves 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 the cloaked requests. 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’re probably trying to find out if website owners are showing the same things to bots as they show to people.

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 to get to it.

I’m not blocking the Russian Federation, only the search engines that originate from there.

Update February 16, 2018

Changed 5.255.192.0-5.255.192.255 to 5.255.192.0-5.255.255.255 and 5.255.192.0/24 to 5.255.192.0/18 in the Russia sections.

Added 213.180.192.0-213.180.223.255 and 213.180.192.0/19 to the Russia sections.

By:
February 10, 2018

Categories:
Web Development

Previous and Next Articles:

« »

Comments:

Your comment will appear below the form when it’s approved. When the page redisplays after hitting the send button (it can take a few seconds), your comment has been sent.

When replying to someone else’s comment, please start the comment with “@” and the name so I can put it in the right place.

Subscribe to Articles by Email

RSS Feed Link

Books by William James Asberry

Comments Policy
Privacy Policy

RTCX established February 28, 2011