diff --git a/ips.txt b/ips.txt index 7163e6b..d30686f 100644 --- a/ips.txt +++ b/ips.txt @@ -1,6 +1,6 @@ -192.229.221.58 -34.120.25.175 -104.198.14.52 +192.229.221.58/32 +34.120.25.175/32 +104.198.14.52/32 35.190.247.0/24 64.233.160.0/19 66.102.0.0/20 diff --git a/scripts/1_ips_from_domains_txt.py b/scripts/1_ips_from_domains_txt.py index 8044d6e..a0d2b1a 100644 --- a/scripts/1_ips_from_domains_txt.py +++ b/scripts/1_ips_from_domains_txt.py @@ -9,7 +9,7 @@ with open('ips.txt', 'w') as out: if l.startswith('#') or l == '': continue - ips.append(socket.gethostbyname(l)) + ips.append(socket.gethostbyname(l) + '/32') ips = list(dict.fromkeys(ips))