lechain
V2EX  ›  域名

github 被 DNS 污染?

  •  
  •   lechain · May 2, 2016 · 613 views
    This topic created in 3757 days ago, the information mentioned may be changed or developed.

    刚刚想往 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
    
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1027 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 361ms · UTC 23:27 · PVG 07:27 · LAX 16:27 · JFK 19:27
    ♥ Do have faith in what you're doing.