Yandex IP ranges

All actual Yandexs ipv4 and ipv6 adresses based on Yandex SPF's record

IPv4, CIDR IPv4 range IPv6
5.45.192.0/19
5.45.192.0 - 5.45.223.255 2a02:6b8:0::/52
5.255.192.0/18
5.255.192.0 - 5.255.255.255 2a02:6b8:0:1a2d::/64
37.9.109.0/24
37.9.109.0 - 37.9.109.255 2a02:6b8:0:2519::/64
37.140.128.0/18
37.140.128.0 - 37.140.191.255 2a02:6b8:0:1000::/52
77.88.0.0/18
77.88.0.0 - 77.88.63.255 2a02:6b8:b030::/64
84.201.128.0/18
84.201.128.0 - 84.201.191.255 2a02:6b8:b030:1000::/64
87.250.224.0/19
87.250.224.0 - 87.250.255.255 2a02:6b8:b011:900::/56
93.158.136.48/28
93.158.136.48 - 93.158.136.63 2a02:6b8:b010:3046::/64
95.108.130.0/23
95.108.130.0 - 95.108.131.255 2a02:6b8:b010:7600::/56
95.108.192.0/18
95.108.192.0 - 95.108.255.255  
141.8.132.0/24
141.8.132.0 - 141.8.132.255  
213.180.223.192/26
213.180.223.192 - 213.180.223.255  
List updated: 07/19/2018 02:09

How to find Yandex IPs ranges

To find Yandex DNS records with ip ranges follow next steps

1. Get Yandex SPF record for the current list of IP addresses

nslookup -q=TXT _spf.yandex.ru 8.8.8.8 At this step you should get next answer from the server
Server:         8.8.8.8
Address:        8.8.8.8#53

Non-authoritative answer:
_spf.yandex.ru  text = "v=spf1 include:_spf-ipv4.yandex.ru include:_spf-ipv6.yandex.ru ~all"

2. Extract a list of Yandex's SPF record, such as

_spf-ipv4.yandex.ru, _spf-ipv6.yandex.ru

3. Look up the DNS records associated with those domains

nslookup -q=TXT _spf-ipv4.yandex.ru 8.8.8.8 At this step you should get next answer from the server
Server:         8.8.8.8
Address:        8.8.8.8#53

Non-authoritative answer:
_spf-ipv4.yandex.ru     text = "v=spf1 ip4:213.180.223.192/26 ip4:37.9.109.0/24 ip4:37.140.128.0/18 ip4:5.45.192.0/19 ip4:5.255.192.0/18 ip4:77.88.0.0/18 ip4:84.201.128.0/18 ip4:87.250.224.0/19 ip4:93.158.136.48/28 ip4:95.108.130.0/23 ip4:95.108.192.0/18 ip4:141.8.132.0/24 ~all"

4. Extract a list of Yandex's IPs

ip4:213.180.223.192/26 ip4:37.9.109.0/24 ip4:37.140.128.0/18 ip4:5.45.192.0/19 ip4:5.255.192.0/18 ip4:77.88.0.0/18 ip4:84.201.128.0/18 ip4:87.250.224.0/19 ip4:93.158.136.48/28 ip4:95.108.130.0/23 ip4:95.108.192.0/18 ip4:141.8.132.0/24