关于 Apple CDN 的一些有趣发现

2015-10-01 14:58:29 +08:00
 Livid
Apple 最近几年一直在推进自己的 CDN 建设,这次的 El Capitan 更新就是通过 Apple 自己的 CDN 提供的,域名 osxapps.itunes.apple.com ,大陆用户访问的话,在解析时看到的 IP 应该是下面这组:

* 17.253.85.201
* 17.253.85.202

根据在国内联通和电信网络里分别 mtr 的结果,这组服务器应该是位于香港的某个 BGP 机房,并且和中国联通及中国电信都做了 peering 。所以,如果那个机房的上联够给力的话,在国内大部分地区访问的速度应该都是非常不错的。

所以,如果你在解析 osxapps.itunes.apple.com 时得到的 IP 不是 17.253.85.* 的话,那么性能肯定是会有问题的。存在一定的几率解析到 17.253.69.*,这是 Apple 在东京的服务器,大陆用户访问的体验不会太理想。

另外一个有趣的发现是,用于驱动 Apple CDN 的软件,并不是 Nginx / Squid / Varnish 这些常见选择,而是 Apache Traffic Server 5.3.2 :

http://trafficserver.apache.org/
28652 次点击
所在节点    CDN
88 条回复
JackBlack2006
2015-10-01 15:34:56 +08:00
我这里用 nslookup 解析出来也是楼主的地址

另外, OS X 10.11 15A284 抓包地址是

http://osxapps.itunes.apple.com/apple-assets-us-std-000001/Purple3/v4/74/d2/82/74d28291-9db9-7ae2-305d-9b8b3f5fd463/ftk3252456602304584541.pkg

竟然没有 https ... ?
shao
2015-10-01 15:36:24 +08:00
在魔都电信,用默认 dns 得到如下结果。这算什么水平?


; <<>> DiG 9.8.3-P1 <<>> osxapps.itunes.apple.com @116.228.111.118
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11943
;; flags: qr rd ra; QUERY: 1, ANSWER: 19, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;osxapps.itunes.apple.com. IN A

;; ANSWER SECTION:
osxapps.itunes.apple.com. 1169 IN CNAME itunes-apple.g.aaplimg.com.
itunes-apple.g.aaplimg.com. 269 IN CNAME itunes-cn-lb.itunes-apple.com.akadns.net.
itunes-cn-lb.itunes-apple.com.akadns.net. 269 IN CNAME hls.itunes.apple.com.mwcname.com.
hls.itunes.apple.com.mwcname.com. 1169 IN CNAME 1stcnapptf.dlmix.ourdvs.com.
1stcnapptf.dlmix.ourdvs.com. 269 IN A 183.131.210.60
1stcnapptf.dlmix.ourdvs.com. 269 IN A 183.131.210.61
1stcnapptf.dlmix.ourdvs.com. 269 IN A 183.131.67.42
1stcnapptf.dlmix.ourdvs.com. 269 IN A 122.228.6.67
1stcnapptf.dlmix.ourdvs.com. 269 IN A 122.228.94.64
1stcnapptf.dlmix.ourdvs.com. 269 IN A 122.228.94.65
1stcnapptf.dlmix.ourdvs.com. 269 IN A 180.97.180.91
1stcnapptf.dlmix.ourdvs.com. 269 IN A 180.97.180.92
1stcnapptf.dlmix.ourdvs.com. 269 IN A 183.131.168.132
1stcnapptf.dlmix.ourdvs.com. 269 IN A 183.131.168.135
1stcnapptf.dlmix.ourdvs.com. 269 IN A 183.131.168.136
1stcnapptf.dlmix.ourdvs.com. 269 IN A 183.131.168.138
1stcnapptf.dlmix.ourdvs.com. 269 IN A 183.131.168.143
1stcnapptf.dlmix.ourdvs.com. 269 IN A 183.131.168.144
1stcnapptf.dlmix.ourdvs.com. 269 IN A 183.131.192.80

;; Query time: 25 msec
;; SERVER: 116.228.111.118#53(116.228.111.118)
;; WHEN: Thu Oct 1 15:35:39 2015
;; MSG SIZE rcvd: 454
shao
2015-10-01 15:37:30 +08:00
另一个默认 dns ,是 17.253.85.204

; <<>> DiG 9.8.3-P1 <<>> osxapps.itunes.apple.com @180.168.255.18
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49416
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;osxapps.itunes.apple.com. IN A

;; ANSWER SECTION:
osxapps.itunes.apple.com. 1076 IN CNAME itunes-apple.g.aaplimg.com.
itunes-apple.g.aaplimg.com. 176 IN A 17.253.85.204

;; Query time: 25 msec
;; SERVER: 180.168.255.18#53(180.168.255.18)
;; WHEN: Thu Oct 1 15:37:52 2015
;; MSG SIZE rcvd: 95
shao
2015-10-01 15:38:23 +08:00
简单 whois 一下, ourdvs.com 应该是阿里云。
greyby
2015-10-01 15:44:43 +08:00
去年 Velocity China 还请到那位在 Apple 工作的 Apache Traffic Server 项目负责人 http://velocity.oreilly.com.cn/2014/index.php?func=session&id=12
bumz
2015-10-01 16:13:29 +08:00
ping 218.60.109.73 osxapps.itunes.apple.com ----- 20ms
ping 17.253.85.201 osxapps.itunes.apple.com ----- 90ms
boter
2015-10-01 16:26:48 +08:00
wych
2015-10-01 16:29:09 +08:00
我在北京联通的运营商下面连接速度很慢,然后我用阿里云和一个江苏电信机房的服务器单线程测试,速度最大都只有 1M/s 左右。厨子还是不给力啊。
virusdefender
2015-10-01 16:33:27 +08:00
我是 17.253.85.204
dasenlin
2015-10-01 16:58:31 +08:00
我的竟然解析到了 118.212.138.54 上海联通
ksupertu
2015-10-01 17:01:26 +08:00
17.253.69.207 200ms ……
ehs2013
2015-10-01 17:23:46 +08:00
;; ANSWER SECTION:
osxapps.itunes.apple.com. 64700 IN CNAME itunes-apple.g.aaplimg.com.
itunes-apple.g.aaplimg.com. 15 IN A 17.253.69.204
itunes-apple.g.aaplimg.com. 15 IN A 17.253.69.202
wbsdty331
2015-10-01 17:34:09 +08:00
17.253.69.204
Gandum
2015-10-01 18:03:10 +08:00
为什么我得到的都不是 17 开头的,而是 163 开头的
SkyLanD
2015-10-01 18:03:59 +08:00
64 bytes from 163.177.171.34: icmp_seq=0 ttl=57 time=31.684 ms
64 bytes from 163.177.171.34: icmp_seq=1 ttl=57 time=34.477 ms
64 bytes from 163.177.171.34: icmp_seq=2 ttl=57 time=33.145 ms
64 bytes from 163.177.171.34: icmp_seq=3 ttl=57 time=34.324 ms
64 bytes from 163.177.171.34: icmp_seq=4 ttl=57 time=34.099 ms
64 bytes from 163.177.171.34: icmp_seq=5 ttl=57 time=33.303 ms
64 bytes from 163.177.171.34: icmp_seq=6 ttl=57 time=33.361 ms
SkyLanD
2015-10-01 18:04:31 +08:00
我的解析到广州联通…
yexm0
2015-10-01 18:18:01 +08:00
服务器: ns.szptt.net.cn
Address: 202.96.134.133

非权威应答:
名称: 1stcnapptf.dlmix.ourdvs.com
Addresses: 113.107.112.212
113.17.140.186
115.231.132.70
116.211.79.46
121.9.222.53
121.9.222.54
121.9.222.56
222.84.167.52
222.84.167.53
59.56.26.46
61.184.116.82
61.184.116.83
61.184.116.84
61.184.117.50
113.107.112.211
Aliases: osxapps.itunes.apple.com
itunes-apple.g.aaplimg.com
itunes-cn-lb.itunes-apple.com.akadns.net
hls.itunes.apple.com.mwcname.com
活见鬼了
Yamade
2015-10-01 18:38:26 +08:00
17.253.85.201
tianshilei1992
2015-10-01 18:40:17 +08:00
我是上海教育网,解析到了 17.253.85.204 ……
并且我们学校最近几天一直都是无法更新 App Store 中的 Apps ,我只能用 Astrill 出去下,今天的系统也是……学校说发现问题了,正在尽力排查当中,但是从前天到现在都没反应……
xenme
2015-10-01 18:44:56 +08:00
魔都 CN2

----------------
nslookup osxapps.itunes.apple.com
Server: 172.16.10.1
Address: 172.16.10.1#53

Non-authoritative answer:
osxapps.itunes.apple.com canonical name = itunes-apple.g.aaplimg.com.
Name: itunes-apple.g.aaplimg.com
Address: 17.253.71.205
Name: itunes-apple.g.aaplimg.com
Address: 17.253.71.209

------------------
xxx.local (0.0.0.0) Thu Oct 1 18:45:07 2015
Keys: Help Display mode Restart statistics Order of fields quit
Packets Pings
Host Loss% Snt Last Avg Best Wrst StDev
1. 172.16.10.1 0.0% 30 2.5 2.7 2.4 4.3 0.4
2. 192.168.1.1 0.0% 30 3.2 3.6 2.5 5.7 0.6
3. 222.72.255.206 0.0% 30 8.2 8.2 7.4 10.4 0.6
4. 124.74.38.157 0.0% 30 7.3 8.3 6.8 22.5 2.7
5. 101.95.41.61 0.0% 30 7.0 15.1 7.0 37.6 11.3
6. 59.43.77.145 0.0% 30 8.5 10.1 7.5 57.2 9.0
7. 59.43.17.214 0.0% 30 8.1 9.5 7.4 46.4 7.0
8. 59.43.91.106 0.0% 30 8.6 9.3 7.9 12.7 0.9
9. 59.43.246.214 0.0% 30 8.0 20.6 7.9 109.5 25.8
10. 59.43.183.78 3.3% 30 37.3 163.9 36.2 3700. 680.3
11. vlan85.br01.hkg15.pccwbtn.net 0.0% 30 37.7 37.9 36.8 39.4 0.4
12. tenge0-1-0-2.cr02.tok01.pccwbtn. 0.0% 30 116.5 113.8 112.6 119.3 1.2
13. 63-218-147-246.static.pccwglobal 0.0% 30 120.5 122.4 120.0 135.8 3.7
14. 17.0.186.66 0.0% 30 124.5 125.9 122.5 183.0 10.9
15. jptyo7-vip-bx-005.aaplimg.com 0.0% 30 149.6 150.3 148.1 153.8 1.2

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/225039

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX