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

github 被 DNS 污染?

  •  
  •   lechain · 2016-05-02 12:52:53 +08:00 · 284 次点击
    这是一个创建于 2931 天前的主题,其中的信息可能已经有所发展或是发生改变。

    刚刚想往 github 上传点修改,发现提示ssh_exchange_identification: Connection closed by remote host错误

    又试了试 git remote show origin命令和ssh -T [email protected] 发现还是一样的错误。

    于是 dig 了一下 github.com , 结果神奇的发现了下面的信息, github 这个域名竟然被解析成了 1.1.1.1 , 我了个擦擦啊。。还让不让人活了。

    ; <<>> DiG 9.9.5-3ubuntu0.8-Ubuntu <<>> github.com
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3569
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;github.com.			IN	A
    
    ;; ANSWER SECTION:
    github.com.		0	IN	A	1.1.1.1
    
    ;; Query time: 8 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Mon May 02 12:49:41 CST 2016
    ;; MSG SIZE  rcvd: 44
    

    然后用 114 测试了一下, 发现直接查不到。。

    → dig github.com @114.114.114.114                                                 
    
    ; <<>> DiG 9.9.5-3ubuntu0.8-Ubuntu <<>> github.com @114.114.114.114
    ;; global options: +cmd
    ;; connection timed out; no servers could be reached
    
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2902 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 13:49 · PVG 21:49 · LAX 06:49 · JFK 09:49
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.