Skip to content

Instantly share code, notes, and snippets.

@ksc91u
Created June 22, 2021 14:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ksc91u/41c27bffa2a19213f90880496820f18d to your computer and use it in GitHub Desktop.
Save ksc91u/41c27bffa2a19213f90880496820f18d to your computer and use it in GitHub Desktop.
AMD akamai issue
$ host www.amd.com 8.8.8.8
Using domain server:
Name: 8.8.8.8
Address: 8.8.8.8#53
Aliases:
www.amd.com is an alias for dsa-www.amd.com.edgekey.net.
dsa-www.amd.com.edgekey.net is an alias for dsa-www.amd.com.edgekey.net.globalredir.akadns.net.
dsa-www.amd.com.edgekey.net.globalredir.akadns.net is an alias for e2897.b.akamaiedge.net.
e2897.b.akamaiedge.net has address 103.239.61.56
$ host www.amd.com 1.1.1.1
Using domain server:
Name: 1.1.1.1
Address: 1.1.1.1#53
Aliases:
www.amd.com is an alias for dsa-www.amd.com.edgekey.net.
dsa-www.amd.com.edgekey.net is an alias for dsa-www.amd.com.edgekey.net.globalredir.akadns.net.
dsa-www.amd.com.edgekey.net.globalredir.akadns.net is an alias for e2897.b.akamaiedge.net.
e2897.b.akamaiedge.net has address 173.222.181.51
1.1.1.1 給的 IP 是 173.222.181.51
8.8.8.8 給的是 103.239.61.56
$ curl -vik --resolve www.amd.com:443:173.222.181.51 https://www.amd.com/
* http2 error: Remote peer returned unexpected data while we expected SETTINGS frame. Perhaps, peer does not support HTTP/2 properly.
http 1.1
$ curl --http1.1 -vik --resolve www.amd.com:443:173.222.181.51 https://www.amd.com/
可以連上
8.8.8.8 給的 IP
$ curl -vik --resolve www.amd.com:443:103.239.61.56 https://www.amd.com/
可以連上
如果用 cloudflare warp 就正常沒問題
只用 1.1.1.1 才有問題
因為有問題的 IP 是 akamai 的, 應該是 akamai 部分 edge http2 有問題
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment