Skip to content

Instantly share code, notes, and snippets.

@iHTCboy
Created December 5, 2019 04:00
Show Gist options
  • Save iHTCboy/68326d5c1526691b4276487dc54a6d94 to your computer and use it in GitHub Desktop.
Save iHTCboy/68326d5c1526691b4276487dc54a6d94 to your computer and use it in GitHub Desktop.
查找域名对应的所有IP
➜ ~ nslookup -q=TXT _netblocks.google.com 8.8.8.8
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
_netblocks.google.com text = "v=spf1 ip4:35.190.247.0/24 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:209.85.128.0/17 ip4:216.58.192.0/19 ip4:216.239.32.0/19 ~all"
Authoritative answers can be found from:
[如何查找Google的IP地址段 | 匿名](https://zhgcao.github.io/2016/06/01/find-google-ip-ranges/)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment