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

小米域名的 dns 解析问题

  •  
  •   tvirus · 10 天前 · 2050 次点击
    发现 global.market.xiaomi.com 这个域名如果用国内的 dns 服务器解析的话,得到的 IP 是 127.0.0.1 。即使使用 google dns 得到的也是 127.0.0.1 。

    运营商的 dns
    nslookup global.market.xiaomi.com
    Server: 192.168.123.1
    Address: 192.168.123.1#53

    Non-authoritative answer:
    Name: global.market.xiaomi.com
    Address: 127.0.0.1

    114 dns
    nslookup global.market.xiaomi.com 114.114.114.114
    Server: 114.114.114.114
    Address: 114.114.114.114#53

    Non-authoritative answer:
    Name: global.market.xiaomi.com
    Address: 127.0.0.1

    阿里 dns
    nslookup global.market.xiaomi.com 223.5.5.5
    Server: 223.5.5.5
    Address: 223.5.5.5#53

    Non-authoritative answer:
    Name: global.market.xiaomi.com
    Address: 127.0.0.1

    腾讯 dns
    nslookup global.market.xiaomi.com 119.29.29.29
    Server: 119.29.29.29
    Address: 119.29.29.29#53

    Non-authoritative answer:
    Name: global.market.xiaomi.com
    Address: 127.0.0.1

    谷歌 dns
    nslookup global.market.xiaomi.com 8.8.8.8
    Server: 8.8.8.8
    Address: 8.8.8.8#53

    Non-authoritative answer:
    Name: global.market.xiaomi.com
    Address: 127.0.0.1

    opendns
    nslookup global.market.xiaomi.com 208.67.222.222
    Server: 208.67.222.222
    Address: 208.67.222.222#53

    Non-authoritative answer:
    global.market.xiaomi.com canonical name = sgp-l7-apm.slb.xiaomi.com.
    Name: sgp-l7-apm.slb.xiaomi.com
    Address: 47.236.195.174
    Name: sgp-l7-apm.slb.xiaomi.com
    Address: 47.236.201.189
    Name: sgp-l7-apm.slb.xiaomi.com
    Address: 8.219.154.11
    Name: sgp-l7-apm.slb.xiaomi.com
    Address: 8.219.182.98

    cloudflare dns
    nslookup global.market.xiaomi.com 1.1.1.1
    Server: 1.1.1.1
    Address: 1.1.1.1#53

    Non-authoritative answer:
    global.market.xiaomi.com canonical name = sgp-l7-apm.slb.xiaomi.com.
    Name: sgp-l7-apm.slb.xiaomi.com
    Address: 8.219.182.98
    Name: sgp-l7-apm.slb.xiaomi.com
    Address: 47.236.195.174
    Name: sgp-l7-apm.slb.xiaomi.com
    Address: 8.219.154.11
    Name: sgp-l7-apm.slb.xiaomi.com
    Address: 47.236.201.189
    18 条回复    2025-06-21 11:12:35 +08:00
    MacsedProtoss
        1
    MacsedProtoss  
       10 天前 via iPhone
    用 Google 是能正常解析的,你的结果有误是因为 dns 污染吧
    看起来就是国内故意解析到 localhost
    totoro625
        2
    totoro625  
       10 天前
    有印象论坛内讨论过,简单搜索一下没找到,有个大概相关的 /t/899586
    xcodeghost
        3
    xcodeghost  
       10 天前
    这个域名一看就是面对海外市场的,不想让国内访问。所以直接用的智能解析,将国内用户默认解析到 127.0.0.1
    tvirus
        4
    tvirus  
    OP
       10 天前
    不存在 dns 污染。
    大概率是小米故意为之。
    tvirus
        5
    tvirus  
    OP
       10 天前
    @xcodeghost
    这个域名是国外版小米手机系统里的
    duanxianze
        6
    duanxianze  
       10 天前
    对的啊,就是不让国内访问的啊
    linuxsir2020
        7
    linuxsir2020  
       10 天前
     ~  nslookup global.market.xiaomi.com 8.8.8.8
    Server: dns.google
    Address: 8.8.8.8

    Non-authoritative answer:
    Name: sgp-l7-apm.slb.xiaomi.com
    Addresses: 47.236.195.174
    8.219.182.98
    47.236.201.189
    8.219.154.11
    Aliases: global.market.xiaomi.com
    tvirus
        8
    tvirus  
    OP
       10 天前
    @linuxsir2020
    你这个查询是发生在大陆境内的机器上吗?
    如果是在大陆境内发生的,你的 dns 走代理还是直连?
    123asd789
        9
    123asd789  
       10 天前
    COW
        10
    COW  
       10 天前
    root@ns1:~# kdig +tls @1.1.1.1 global.market.xiaomi.com

    ;; TLS session (TLS1.3)-(ECDHE-X25519)-(ECDSA-SECP256R1-SHA256)-(AES-256-GCM)
    ;; ->>HEADER<<- opcode: QUERY; status: NOERROR; id: 45832
    ;; Flags: qr rd ra; QUERY: 1; ANSWER: 5; AUTHORITY: 0; ADDITIONAL: 1

    ;; EDNS PSEUDOSECTION:
    ;; Version: 0; flags: ; UDP size: 1232 B; ext-rcode: NOERROR
    ;; PADDING: 318 B

    ;; QUESTION SECTION:
    ;; global.market.xiaomi.com. IN A

    ;; ANSWER SECTION:
    global.market.xiaomi.com. 21229 IN CNAME sgp-l7-apm.slb.xiaomi.com.
    sgp-l7-apm.slb.xiaomi.com. 229 IN A 8.219.182.98
    sgp-l7-apm.slb.xiaomi.com. 229 IN A 47.236.195.174
    sgp-l7-apm.slb.xiaomi.com. 229 IN A 47.236.201.189
    sgp-l7-apm.slb.xiaomi.com. 229 IN A 8.219.154.11

    ;; Received 468 B
    ;; Time 2025-06-11 14:07:43 CST
    ;; From 1.1.1.1@853(TLS) in 2227.9 ms
    est
        11
    est  
       10 天前
    dns 指向 127.0.0.1 大概率是中移动墙中墙。
    lns103
        12
    lns103  
       10 天前
    解析结果没问题,是小米主动屏蔽了国内访问这个域名,Google 支持 edns ,解析国内网站也是国内 IP ,1.1.1.1 解析国内网站会给国外 CDN ,所以解析结果与境外的一致
    mytsing520
        13
    mytsing520  
    PRO
       10 天前
    没啥阴谋论,就是小米主动的,这个域名不允许从中国大陆网络访问
    leonshaw
        14
    leonshaw  
       10 天前
    # dig @ns4.dnsv5.com global.market.xiaomi.com +short
    sgp-l7-apm.slb.xiaomi.com.
    47.236.195.174
    47.236.201.189
    8.219.154.11
    8.219.182.98

    # dig @ns4.dnsv5.com global.market.xiaomi.com +subnet=223.5.5.5/32 +short
    127.0.0.1
    linuxsir2020
        15
    linuxsir2020  
       10 天前
    @tvirus 默认路由出口在香港
    peasant
        16
    peasant  
       10 天前
    正常,苹果也有域名在国内不解析
    proxy.safebrowsing.apple
    token.safebrowsing.apple

    怀疑 DNS 解析有问题可以用 dig global.market.xiaomi.com +trace 查看递归过程,这个比换 DNS 服务器去查靠谱多了。
    tvirus
        17
    tvirus  
    OP
       8 天前
    @peasant
    多谢
    dyv9
        18
    dyv9  
       19 小时 42 分钟前
    看来,大家要比价了,不然,杀熟 咋办呢。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   936 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 19ms · UTC 22:55 · PVG 06:55 · LAX 15:55 · JFK 18:55
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.