еще больше IP-адресов

This commit is contained in:
Maxim Slipenko 2022-09-18 09:23:02 +03:00
parent 3d13b8263f
commit 0890b273be
Signed by: Maks1mS
GPG Key ID: 5945C22851757472
2 changed files with 28 additions and 6 deletions

29
ips.txt
View File

@ -1,13 +1,32 @@
192.229.221.58/32 # us.download.nvidia.com 192.229.221.58/32 # us.download.nvidia.com
172.65.251.78/32 # gitlab.com 172.65.251.78/32 # gitlab.com
74.125.131.101/32 # developers.google.com 142.250.150.139/32 # developers.google.com
142.250.150.101/32 # developers.google.com 142.250.150.100/32 # developers.google.com
142.250.150.102/32 # developers.google.com
142.250.150.138/32 # developers.google.com
142.250.150.113/32 # developers.google.com
142.250.150.101/32 # developers.google.com, developers.google.com
64.233.163.102/32 # developers.google.com 64.233.163.102/32 # developers.google.com
142.250.150.102/32 # developers.home.google.com 64.233.165.139/32 # developers.home.google.com
64.233.165.101/32 # developers.home.google.com
64.233.165.102/32 # developers.home.google.com
64.233.165.113/32 # developers.home.google.com
64.233.165.138/32 # developers.home.google.com
64.233.165.100/32 # developers.home.google.com
173.194.222.113/32 # developers.home.google.com 173.194.222.113/32 # developers.home.google.com
64.233.165.103/32 # googleapis.com 74.125.131.103/32 # googleapis.com
74.125.131.104/32 # googleapis.com
74.125.131.106/32 # googleapis.com
74.125.131.99/32 # googleapis.com
74.125.131.147/32 # googleapis.com
74.125.131.105/32 # googleapis.com
173.194.221.105/32 # googleapis.com 173.194.221.105/32 # googleapis.com
74.125.131.102/32 # firebase.google.com 108.177.14.113/32 # firebase.google.com
108.177.14.139/32 # firebase.google.com
108.177.14.102/32 # firebase.google.com
108.177.14.138/32 # firebase.google.com
108.177.14.100/32 # firebase.google.com
108.177.14.101/32 # firebase.google.com
74.125.205.138/32 # firebase.google.com 74.125.205.138/32 # firebase.google.com
35.190.247.0/24 # google (spf) 35.190.247.0/24 # google (spf)
64.233.160.0/19 # google (spf) 64.233.160.0/19 # google (spf)

View File

@ -20,7 +20,10 @@ def main(file_data: list):
dict[domain_or_range].append(comment) dict[domain_or_range].append(comment)
except ValueError: except ValueError:
dict[socket.gethostbyname(domain_or_range) + '/32'].append(l)
hostname_data = socket.gethostbyname_ex(domain_or_range)
for ip in hostname_data[2]:
dict[ip + '/32'].append(l)
ips = list(dict.keys()) ips = list(dict.keys())