Loading
1

【分享】Google ip段获取及扫描教程

本教程最后更新于: 2017年05月1日,本站所有软件均位于文末下载,如有版本问题请及时通知!
点击链接加入【网络技术交流】,一起讨论网络技术及科学上网问题

说明

好早的方式了,之前没在意,翻书签翻着的方法了

Google ip段获取

主要是通过cmd命令获取ip段,命令如下:

nslookup -q=TXT _netblocks.google.com 8.8.8.8
nslookup -q=TXT _netblocks2.google.com 8.8.8.8
nslookup -q=TXT _netblocks3.google.com 8.8.8.8

这样只显示在cmd窗口中,需要自己自行复制,不是特别方便

可以用批处理命令输出到文本

方法:创建个bat文件,里面放上如下批处理命令

nslookup -q=TXT _netblocks.google.com 8.8.8.8 >>ip段.txt
nslookup -q=TXT _netblocks2.google.com 8.8.8.8 >>ip段.txt
nslookup -q=TXT _netblocks3.google.com 8.8.8.8 >>ip段.txt

这样,bat文件同目录就会生成一个ip段.txt文本,直接从里面复制ip段即可

目前,netblocks是主要的ip段获取方式

netblocks用于获取google ipv4

netblocks2用于获取google ipv6

netblocks3用于获取google ipv4,量较少

下面给出站长的运行结果

服务器:  google-public-dns-a.google.com
Address:  8.8.8.8

_netblocks.google.com	text =

	"v=spf1 ip4:64.18.0.0/20 ip4:64.233.160.0/19 ip4:66.102.0.0/20 ip4:66.249.80.0/20 ip4:72.14.192.0/18 ip4:74.125.0.0/16 ip4:108.177.8.0/21 ip4:173.194.0.0/16 ip4:207.126.144.0/20 ip4:209.85.128.0/17 ip4:216.58.192.0/19 ip4:216.239.32.0/19 ~all"
服务器:  google-public-dns-a.google.com
Address:  8.8.8.8

_netblocks2.google.com	text =

	"v=spf1 ip6:2001:4860:4000::/36 ip6:2404:6800:4000::/36 ip6:2607:f8b0:4000::/36 ip6:2800:3f0:4000::/36 ip6:2a00:1450:4000::/36 ip6:2c0f:fb50:4000::/36 ~all"
服务器:  google-public-dns-a.google.com
Address:  8.8.8.8

_netblocks3.google.com	text =
	"v=spf1 ip4:172.217.0.0/19 ip4:108.177.96.0/19 ~all"

下面整理出站长通过该方式获取的所有ip段

netblocks
64.18.0.0/20 
64.233.160.0/19 
66.102.0.0/20 
66.249.80.0/20 
72.14.192.0/18 
74.125.0.0/16 
108.177.8.0/21 
173.194.0.0/16 
207.126.144.0/20 
209.85.128.0/17 
216.58.192.0/19 
216.239.32.0/19

netblocks2
2001:4860:4000::/36 
2404:6800:4000::/36 
2607:f8b0:4000::/36 
2800:3f0:4000::/36 
2a00:1450:4000::/36 
2c0f:fb50:4000::/36

netblocks2
172.217.0.0/19 
108.177.96.0/19

下面再放一组,站长最近收集的ip段,主要是用于goproxy

goproxy默认导入ip为hk字段,其实像goagnet一样,也可以增加cn字段

方法下面再说,在此之前,先发电hk字段ip段跟cn字段ip段

google_cn
117.34.15.0-117.34.15.255
117.34.15.0-117.34.15.255
180.96.70.0-180.96.70.255
180.96.71.0-180.96.71.255
183.60.90.0-183.60.90.255
222.211.87.0-222.211.87.255
58.63.254.0-58.63.254.255
59.173.16.0-59.173.16.255
google_hk
74.125.10.0-74.125.10.255
173.194.22.0-173.194.22.255
203.210.8.0-203.210.8.255
74.125.10.0-74.125.10.255
61.238.239.0-61.238.239.255
203.66.180.0-203.66.180.255
203.66.182.0-203.66.182.255
203.66.155.0-203.66.155.255
211.49.146.0-211.49.146.255
27.85.180.0-27.85.180.255
110.164.9.0-110.164.9.255
110.164.18.0-110.164.18.255
172.217.25.0-172.217.25.255
59.18.45.0-59.18.45.255
122.202.129.0-122.202.129.255
58.26.8.0-58.26.8.255
112.197.12.0-112.197.12.255
43.252.16.0-43.252.16.255
59.20.132.0-59.20.132.255
223.255.227.0-223.255.227.255
59.18.35.0-59.18.35.255
203.252.15.0-203.252.15.255
220.152.34.0-220.152.34.255
210.158.146.0-210.158.146.255
112.197.13.0-112.197.13.255
114.125.97.0-114.125.97.255
49.106.234.0-49.106.234.255
114.125.192.0-114.125.192.255
114.120.225.0-114.120.225.255
203.113.50.0-203.113.50.255
113.171.240.0-113.171.240.255
203.113.48.0-203.113.48.255
202.28.85.0-202.28.85.255
113.171.242.0-113.171.242.255
113.171.237.0-113.171.237.255
203.113.53.0-203.113.53.255
113.171.238.0-113.171.238.255
203.113.51.0-203.113.51.255
203.133.72.0-203.133.72.255
203.133.8.0-203.133.8.255
113.171.253.0-113.171.253.255
200.77.222.0-200.77.222.255
113.171.252.0-113.171.252.255
201.157.30.0-201.157.30.255
103.234.120.0-103.234.120.255
195.112.88.0-195.112.88.255
103.233.37.0-103.233.37.255
64.15.115.0-64.15.115.255
63.84.3.0-63.84.3.255
87.79.22.0-87.79.22.255
113.171.245.0-113.171.245.255
49.231.55.0-49.231.55.255
194.182.232.0-194.182.232.255
189.247.160.0-189.247.160.255
77.154.227.0-77.154.227.255
212.113.167.0-212.113.167.255
115.87.71.0-115.87.71.255
208.117.253.0-208.117.253.255
157.157.135.0-157.157.135.255
189.247.137.0-189.247.137.255
203.210.7.0-203.210.7.255
216.58.200.0-216.58.200.255
108.177.97.0-108.177.97.255
203.66.124.0-203.66.124.255
45.64.34.0-45.64.34.255
172.217.24.0-172.217.24.255
1.255.22.0-1.255.22.255
172.217.27.0-172.217.27.255
172.217.26.0-172.217.26.255
202.86.162.0-202.86.162.255
112.197.5.0-112.197.5.255
74.125.158.0-74.125.158.255
37.8.144.0-37.8.144.255
212.122.14.0-212.122.14.255
188.113.128.0-188.113.128.255
106.103.1.0-106.103.1.255
173.194.154.0-173.194.154.255
203.233.96.0-203.233.96.255
110.164.8.0-110.164.8.255
188.43.64.0-188.43.64.255
216.58.203.0-216.58.203.255
110.164.12.0-110.164.12.255
210.242.128.0-210.242.128.255
109.226.232.0-109.226.232.255
173.194.166.0-173.194.166.255
172.217.11.0-172.217.11.255
118.143.88.0-118.143.88.255
74.125.157.0-74.125.157.255
172.217.5.0-172.217.5.255
172.217.3.0-172.217.3.255
172.217.4.0-172.217.4.255
216.58.194.0-216.58.194.255
209.116.150.0-209.116.150.255
173.194.12.0-173.194.12.255
173.194.8.0-173.194.8.255
64.9.228.0-64.9.228.255
49.243.141.0-49.243.141.255
74.125.170.0-74.125.170.255
172.217.12.0-172.217.12.255
172.217.6.0-172.217.6.255
173.194.24.0-173.194.24.255
172.217.9.0-172.217.9.255
173.194.152.0-173.194.152.255
173.194.57.0-173.194.57.255
61.86.203.0-61.86.203.255
110.164.14.0-110.164.14.255
70.186.24.0-70.186.24.255
104.237.160.0-104.237.160.255
74.125.1.0-74.125.1.255
202.75.147.0-202.75.147.255
212.1.144.0-212.1.144.255
118.98.111.0-118.98.111.255
74.125.159.0-74.125.159.255
173.194.162.0-173.194.162.255
209.85.165.0-209.85.165.255
172.217.10.0-172.217.10.255
42.112.11.0-42.112.11.255
103.233.36.0-103.233.36.255
172.217.7.0-172.217.7.255
172.217.8.0-172.217.8.255
74.125.155.0-74.125.155.255
173.194.29.0-173.194.29.255
213.85.209.0-213.85.209.255
90.182.119.0-90.182.119.255
173.194.61.0-173.194.61.255
149.165.180.0-149.165.180.255
77.67.49.0-77.67.49.255
46.134.208.0-46.134.208.255
173.194.147.0-173.194.147.255
84.208.42.0-84.208.42.255
203.113.162.0-203.113.162.255
173.194.144.0-173.194.144.255
120.28.26.0-120.28.26.255
172.217.1.0-172.217.1.255
64.15.125.0-64.15.125.255
173.194.184.0-173.194.184.255
65.199.248.0-65.199.248.255
167.142.232.0-167.142.232.255
202.78.113.0-202.78.113.255
173.194.31.0-173.194.31.255
209.85.231.0-209.85.231.255

下面给出gae.user.json中添加google_cn字段的模板,请自行添加

{
	"AppIDs": [
		"id1","id2","id3"
	],
	"SSLVerify": false,
	"DisableIPv6": false,
	"ForceIPv6": false,
	"DisableHTTP2": true,
	"ForceHTTP2": false,
	"EnableDeadProbe": true,
	"EnableRemoteDNS": false,
	"HostMap" : {
		"google_hk": [
			"ip1","ip2","ip3"
			],
		"google_cn": [
			"ip1","ip2","ip3"	
			]
	},
}

后续说明

今天发布了ip段,扫描方式之前发过,今天就不整合了,后续再整合

点击获取ip段扫描得到ip的方式

当然,你也可以将这些ip段全部放到xxnet的ip段文本中,覆盖掉之前的ip段文本,一定程度上可以提速

XX-NET web界面导入ip段链接

声明:本文为原创,作者为 月下,转载时请保留本声明及附带文章链接:https://ctcwall.com/ip-range/
支付宝打赏支付宝打赏 微信零花钱微信零花钱

如果文章对你有帮助,欢迎点击上方按钮打赏作者,金额随意;此外,有远程协助需求的,请点击打赏¥50

最后编辑于:2017/5/1作者: 月下

喜欢折腾,热爱科学上网。感谢长期陪伴站长的你们!!!

2 条评论

  1. 而我给我 来自天朝的朋友 谷歌浏览器 Windows 10 说道:
    1#

    我以为用这个方法可以用来制作hosts

    • 月下 来自天朝的朋友 谷歌浏览器 Windows 10 说道:

      扫完ip可以

发表评论

电子邮件地址不会被公开。 必填项已用*标注

arrow grin ! ? cool roll eek evil razz mrgreen smile oops lol mad twisted wink idea cry shock neutral sad ???

扫一扫,手机访问本站

扫一扫,手机访问本站