最新消息:

获取 阿里/google/amazon/Azure/github/fastly 所有IP

ip admin 13970浏览 0评论

阿里

地址:https://regionip.aliyun.com/publish/abtn-ip2location.csv

说明:阿里集团已规划的公网IP信息,可帮助全球各大云厂商提升对阿里巴巴骨干网、阿里云各大region的ip地址归属地识别精度。格式说明

google

# dig _spf.google.com TXT | grep TXT
"v=spf1 include:_netblocks.google.com include:_netblocks2.google.com include:_netblocks3.google.com ~all"
# dig _netblocks.google.com TXT | grep TXT
"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"

# dig _netblocks2.google.com TXT | grep TXT
"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"

# dig _netblocks3.google.com TXT | grep TXT
"v=spf1 ip4:172.217.0.0/19 ip4:172.217.32.0/20 ip4:172.217.128.0/19 ip4:172.217.160.0/20 ip4:172.217.192.0/19 ip4:172.253.56.0/21 ip4:172.253.112.0/20 ip4:108.177.96.0/19 ip4:35.191.0.0/16 ip4:130.211.0.0/22 ~all"

获取 Google IP 地址范围

https://support.google.com/a/answer/10026322?hl=zh-Hans

curl -s https://www.gstatic.com/ipranges/goog.json | jq
{
  "syncToken": "1621875794139",
  "creationTime": "2021-05-24T10:03:14.139",
  "prefixes": [
    {
      "ipv4Prefix": "8.8.4.0/24"
    },
    {
      "ipv4Prefix": "8.8.8.0/24"
    },

amazon

https://ip-ranges.amazonaws.com/ip-ranges.json

https://docs.aws.amazon.com/zh_cn/general/latest/gr/aws-ip-ranges.html

# curl https://ip-ranges.amazonaws.com/ip-ranges.json | jq -r '.prefixes[] | select(.service=="S3") | .ip_prefix'
52.95.154.0/23
52.219.64.0/22
52.92.72.0/22
52.92.64.0/22

https://aws.amazon.com/cn/premiumsupport/knowledge-center/s3-find-ip-address-ranges/

Azure IP Ranges and Service Tags – Public Cloud

https://www.microsoft.com/en-us/download/details.aspx?id=56519

GItHub

https://docs.github.com/cn/github/authenticating-to-github/keeping-your-account-and-data-secure/about-githubs-ip-addresses

curl \
  -H "Accept: application/vnd.github.v3+json" \
  https://api.github.com/meta

cloudflare

https://www.cloudflare.com/zh-cn/ips/

 

fastly CDN

To help you allowlist Fastly’s services through your firewall, we provide access to the list of Fastly’s assigned IP ranges at this URL:

https://api.fastly.com/public-ip-list

You can use the API endpoint to programmatically detect when the IP ranges change (for example, by running a script as a cron job).

To make sure you have plenty of time to stay in sync, we post IP address announcements along with other service announcements to our status page, which you can subscribe to.

https://docs.fastly.com/en/guides/accessing-fastlys-ip-ranges

 

 

转载请注明:爱开源 » 获取 阿里/google/amazon/Azure/github/fastly 所有IP

您必须 登录 才能发表评论!