不过有可能因为 DNS 本地缓存,某些地方的解析可能没及时生效,可以用 dig gems.ruby-china.com 看看:
正确的 CNAME 地址是:gems-ruby-china.b0.aicdn.com.
$ dig gems.ruby-china.com
; <<>> DiG 9.10.6 <<>> gems.ruby-china.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28938
;; flags: qr rd ra; QUERY: 1, ANSWER: 11, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;gems.ruby-china.com. IN A
;; ANSWER SECTION:
gems.ruby-china.com. 600 IN CNAME gems-ruby-china.b0.aicdn.com.
gems-ruby-china.b0.aicdn.com. 300 IN CNAME nm.aicdn.com.
nm.aicdn.com. 175 IN A 1.81.5.176
nm.aicdn.com. 175 IN A 1.81.5.188
nm.aicdn.com. 175 IN A 1.81.5.189
nm.aicdn.com. 175 IN A 1.81.5.190
nm.aicdn.com. 175 IN A 183.131.200.61
nm.aicdn.com. 175 IN A 183.131.200.68
nm.aicdn.com. 175 IN A 183.131.200.69
nm.aicdn.com. 175 IN A 183.131.200.72
nm.aicdn.com. 175 IN A 183.131.200.74
;; Query time: 88 msec
;; SERVER: 10.20.2.1#53(10.20.2.1)
;; WHEN: Thu Dec 31 18:14:04 CST 2020
;; MSG SIZE rcvd: 237