为什么使用 Google 的 DNS 解析 m10.music.126.net 响应的 127.0.0.1 ?

2017-09-02 11:39:08 +08:00
 xarrow

使用 Google DNS 来解析m10.music.126.net响应127.0.0.1,而使用 114 的 DNS 解析返回正常,导致使用 8.8.8.8 网易音乐播放不了

>nslookup -vc m10.music.126.net 114.114.114.114
服务器:  public1.114dns.com
Address:  114.114.114.114

非权威应答:
名称:    netease.ugcvideoss.ourdvs.com
Addresses:  183.134.9.56
         183.134.14.161
         122.228.25.176
         183.134.53.16
Aliases:  m10.music.126.net
         m10.music.126.net.wscdns.com

>nslookup -vc m10.music.126.net 8.8.8.8
服务器:  google-public-dns-a.google.com
Address:  8.8.8.8

非权威应答:
名称:    m10.music.126.net.wscdns.com
Address:  127.0.0.1
Aliases:  m10.music.126.net

8291 次点击
所在节点    DNS
17 条回复
inspiron530s
2017-09-02 11:58:46 +08:00
海外的 DNS 都是这个结果

PS C:\Users\hp> nslookup m10.music.126.net 208.67.222.222
服务器: resolver1.opendns.com
Address: 208.67.222.222

非权威应答:
名称: m10.music.126.net.wscdns.com
Address: 127.0.0.1
Aliases: m10.music.126.net

PS C:\Users\hp> nslookup m10.music.126.net 119.29.29.29
服务器: pdns.dnspod.cn
Address: 119.29.29.29

非权威应答:
名称: m10.music.126.net.wscdns.com
Address: 127.0.0.1
Aliases: m10.music.126.net

PS C:\Users\hp> nslookup m10.music.126.net 114.114.114.114
服务器: public1.114dns.com
Address: 114.114.114.114

非权威应答:
名称: m10.music.126.net.wscdns.com
Address: 127.0.0.1
Aliases: m10.music.126.net
inspiron530s
2017-09-02 11:59:41 +08:00
坐标澳洲
a2213108
2017-09-02 12:02:49 +08:00
网易云因为版权问题屏蔽海外 IP,想听的话翻回国
myguybetter
2017-09-02 12:03:56 +08:00
电信,表示正常……
> m10.music.126.net 8.8.8.8
服务器: [8.8.8.8]
Address: 8.8.8.8

非权威应答:
名称: netease.ugcvideoss.ourdvs.com
Addresses: 61.160.209.57
180.101.30.89
222.186.18.33
58.221.78.187
114.236.140.97
58.222.18.116
218.92.221.43
180.97.217.153
61.147.225.75
114.236.140.96
49.79.232.189
Aliases: m10.music.126.net
m10.music.126.net.wscdns.com
xarrow
2017-09-02 12:15:04 +08:00
@myguybetterhttps://dns.google.com 页面上查询也是指向 127.0.0.1
a2213108
2017-09-02 12:26:39 +08:00
@xarrow https://dns.google.com/query?name=m10.music.126.net&type=A&dnssec=true&ecs=114.114.114.114
edns 用国内 ip 就能解析,网易云根据客户端 ip 判断的,国外 IP 都返回 127.0.0.1
UnisandK
2017-09-02 13:17:06 +08:00
防止海外的听
webster
2017-09-02 13:52:09 +08:00
➜ tab git:(master) dig m10.music.126.net @8.8.8.8

; <<>> DiG 9.8.3-P1 <<>> m10.music.126.net @8.8.8.8
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58178
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;m10.music.126.net. IN A

;; ANSWER SECTION:
m10.music.126.net. 964 IN CNAME m10.music.126.net.wscdns.com.
m10.music.126.net.wscdns.com. 3599 IN CNAME netease.ugcvideoss.ourdvs.com.
netease.ugcvideoss.ourdvs.com. 59 IN A 122.228.25.176
netease.ugcvideoss.ourdvs.com. 59 IN A 183.134.14.161
netease.ugcvideoss.ourdvs.com. 59 IN A 183.134.53.16
netease.ugcvideoss.ourdvs.com. 59 IN A 183.134.9.56

;; Query time: 364 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Sat Sep 2 13:51:50 2017
;; MSG SIZE rcvd: 181
tuibaba
2017-09-02 15:32:37 +08:00
应该是版权问题
lydasia
2017-09-02 16:35:33 +08:00
照这么说,在海外听不用翻回去,直接 hosts 搞定?
Love4Taylor
2017-09-02 16:52:31 +08:00
@lydasia #10 验证地区的 可不是这个域名...
UnisandK
2017-09-02 16:59:48 +08:00
@lydasia
@Love4Taylor

120.52.72.23 music.163.com
120.52.72.23 m10.music.126.net

用的联通的缓存服务器,用法大概就 curl 120.52.72.23 -H 'Host: ip.cn' ,不支持 https
放不出来可以多刷新两遍试试,我这儿是成功的
Love4Taylor
2017-09-02 17:01:51 +08:00
@UnisandK #12 顶多桌面端能用 移动端不是已经用 httpdns 很久了么....
UnisandK
2017-09-02 17:04:31 +08:00
@Love4Taylor 移动端没试过了,我都电脑上听的
bclerdx
2017-09-02 20:15:00 +08:00
@a2213108 国外 ip 太多了,怎么做到瓶壁的?
song4
2017-09-03 10:43:46 +08:00
@bclerdx 可以通过 IP 反查地理位置呀
LGA1150
2017-09-22 16:21:32 +08:00
# dig @8.8.8.8 m10.music.126.net +tcp

; <<>> DiG 9.10.4-P5 <<>> @8.8.8.8 m10.music.126.net +tcp
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27597
;; flags: qr rd ra; QUERY: 1, ANSWER: 15, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;m10.music.126.net. IN A

;; ANSWER SECTION:
m10.music.126.net. 15850 IN CNAME m10.music.126.net.wscdns.com.m10.music.126.net.wscdns.com. 3504 IN CNAME netease.ugcvideoss.ourdvs.com.
netease.ugcvideoss.ourdvs.com. 52 IN A 113.107.112.174
netease.ugcvideoss.ourdvs.com. 52 IN A 183.6.224.179
netease.ugcvideoss.ourdvs.com. 52 IN A 183.134.14.161
netease.ugcvideoss.ourdvs.com. 52 IN A 113.12.84.22
netease.ugcvideoss.ourdvs.com. 52 IN A 183.62.114.251
netease.ugcvideoss.ourdvs.com. 52 IN A 125.89.198.64
netease.ugcvideoss.ourdvs.com. 52 IN A 14.215.100.98
netease.ugcvideoss.ourdvs.com. 52 IN A 14.215.72.16
netease.ugcvideoss.ourdvs.com. 52 IN A 14.215.228.55
netease.ugcvideoss.ourdvs.com. 52 IN A 120.41.4.135
netease.ugcvideoss.ourdvs.com. 52 IN A 59.56.26.41
netease.ugcvideoss.ourdvs.com. 52 IN A 113.107.44.163
netease.ugcvideoss.ourdvs.com. 52 IN A 121.11.81.160

;; Query time: 20 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Fri Sep 22 16:21:01 CST 2017
;; MSG SIZE rcvd: 336

广州电信,估计用了 EDNS

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

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

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

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

© 2021 V2EX