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

关于 Twitter 的 t.co

  •  
  •   Tander · 2020-07-08 19:26:28 +08:00 · 3806 次点击
    这是一个创建于 1359 天前的主题,其中的信息可能已经有所发展或是发生改变。
    (不懂就问) t.co 的 DNS 解析结果是 127.0.0.1 或::1,但是浏览器访问 t.co 得到的仍然是 Twitter 的界面,求各位大佬说说这是怎么做到的?
    10 条回复    2020-07-09 19:25:53 +08:00
    gstqc
        1
    gstqc  
       2020-07-08 19:31:16 +08:00 via Android
    代理服务器不使用你本地的 dns
    TheZihanGu
        2
    TheZihanGu  
       2020-07-08 19:32:01 +08:00
    本地 PING 了一下。
    PING t.co (104.244.42.5): 56 data bytes
    解析结果为 localhost 是因为用了 Proxifier 之类的工具吧...
    Tander
        3
    Tander  
    OP
       2020-07-08 19:36:06 +08:00
    @gstqc
    @TheZihanGu
    刚刚我又试了一下别的 DNS 服务器就可以正常解析,话说这种用法算是 DOH 吗?或者说有被劫持的可能吗?
    Tander
        4
    Tander  
    OP
       2020-07-08 19:37:06 +08:00
    C:\Users\User>nslookup t.co dns.google
    服务器: dns.google
    Address: 8.8.8.8

    非权威应答:
    名称: t.co
    Addresses: ::1
    127.0.0.1


    C:\Users\User>nslookup t.co 8.8.8.8
    服务器: dns.google
    Address: 8.8.8.8

    非权威应答:
    名称: t.co
    Addresses: ::1
    127.0.0.1


    C:\Users\User>nslookup t.co 223.5.5.5
    服务器: public1.alidns.com
    Address: 223.5.5.5

    非权威应答:
    名称: t.co
    Addresses: 104.244.42.197
    104.244.42.5
    104.244.42.69
    104.244.42.133


    C:\Users\User>nslookup t.co 114.114.114.114
    服务器: public1.114dns.com
    Address: 114.114.114.114

    非权威应答:
    名称: t.co
    Addresses: ::1
    127.0.0.1
    TheZihanGu
        5
    TheZihanGu  
       2020-07-08 19:38:32 +08:00
    @Tander 我不认为是 DoH...
    你尝试 PING 一下其他网站域名试试。
    Tander
        6
    Tander  
    OP
       2020-07-08 19:44:15 +08:00
    @TheZihanGu 其他的几个包括 Twitter 本站,Google 等等的都试过了,解析出来的都不会是 127.0.0.1 或::1
    zro
        7
    zro  
       2020-07-08 23:48:19 +08:00
    nslookup -vc t.co 114.114.114.114

    用默认 UDP 可能被劫持,TCP 试试。。
    laduary
        8
    laduary  
       2020-07-09 08:27:13 +08:00
    (base) ➜ ~ nslookup t.co
    Server: 192.168.0.1
    Address: 192.168.0.1#53

    Non-authoritative answer:
    Name: t.co
    Address: 104.244.42.197
    Name: t.co
    Address: 104.244.42.69
    Name: t.co
    Address: 104.244.42.133
    Name: t.co
    Address: 104.244.42.5

    (base) ➜ ~ curl myip.ipip.net
    当前 IP:203.220.*.* 来自于:澳大利亚 新南威尔士州 悉尼 tpg.com.au
    Tander
        9
    Tander  
    OP
       2020-07-09 19:05:20 +08:00
    @zro 试了一下,确实正常了。话说为什么就劫持这个的(居然说因为我每条回复都有外链像是在 spamming ),其他知名被墙的网站反而没有被劫持呢
    zro
        10
    zro  
       2020-07-09 19:25:53 +08:00
    国内网络都很迷,深究太多也没意思,觉得哪样受阻就找工具反劫持就好了。。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3228 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 12:08 · PVG 20:08 · LAX 05:08 · JFK 08:08
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.