V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
xarrow
V2EX  ›  DNS

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

  •  
  •   xarrow · 2017-09-02 11:39:08 +08:00 · 8316 次点击
    这是一个创建于 2671 天前的主题,其中的信息可能已经有所发展或是发生改变。

    使用 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
    
    
    17 条回复    2017-09-22 16:21:32 +08:00
    inspiron530s
        1
    inspiron530s  
       2017-09-02 11:58:46 +08:00   ❤️ 1
    海外的 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
        2
    inspiron530s  
       2017-09-02 11:59:41 +08:00
    坐标澳洲
    a2213108
        3
    a2213108  
       2017-09-02 12:02:49 +08:00 via Android
    网易云因为版权问题屏蔽海外 IP,想听的话翻回国
    myguybetter
        4
    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
        5
    xarrow  
    OP
       2017-09-02 12:15:04 +08:00
    @myguybetterhttps://dns.google.com 页面上查询也是指向 127.0.0.1
    a2213108
        6
    a2213108  
       2017-09-02 12:26:39 +08:00 via Android   ❤️ 1
    @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
        7
    UnisandK  
       2017-09-02 13:17:06 +08:00
    防止海外的听
    webster
        8
    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
        9
    tuibaba  
       2017-09-02 15:32:37 +08:00
    应该是版权问题
    lydasia
        10
    lydasia  
       2017-09-02 16:35:33 +08:00 via iPhone
    照这么说,在海外听不用翻回去,直接 hosts 搞定?
    Love4Taylor
        11
    Love4Taylor  
       2017-09-02 16:52:31 +08:00
    @lydasia #10 验证地区的 可不是这个域名...
    UnisandK
        12
    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
        13
    Love4Taylor  
       2017-09-02 17:01:51 +08:00
    @UnisandK #12 顶多桌面端能用 移动端不是已经用 httpdns 很久了么....
    UnisandK
        14
    UnisandK  
       2017-09-02 17:04:31 +08:00
    @Love4Taylor 移动端没试过了,我都电脑上听的
    bclerdx
        15
    bclerdx  
       2017-09-02 20:15:00 +08:00 via Android
    @a2213108 国外 ip 太多了,怎么做到瓶壁的?
    song4
        16
    song4  
       2017-09-03 10:43:46 +08:00
    @bclerdx 可以通过 IP 反查地理位置呀
    LGA1150
        17
    LGA1150  
       2017-09-22 16:21:32 +08:00 via Android
    # 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
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3109 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 13:16 · PVG 21:16 · LAX 05:16 · JFK 08:16
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.