able

修改 hosts 文件,解决 gist.github.com 被墙无法访问的问题,可以快速打开啦!

  •  
  •   able · Nov 2, 2018 · 2974 views
    This topic created in 2762 days ago, the information mentioned may be changed or developed.

    在家可以访问 GitHub,但 gist.github.com 打不开,应该是被 DNS 污染。

    解决办法是修改 hosts 文件,按大家说的改成如下确实可以访问,但速度很慢。

    192.30.253.118 gist.github.com 
    192.30.253.119 gist.github.com
    

    我查了下 github.com 的 IP,让后都换成解析出的 3 个 IP 地址,然后速度很快啦!

    ➜  ~ dig github.com +short
    13.250.177.223
    52.74.223.119
    13.229.188.59
    
    13.250.177.223 gist.github.com
    52.74.223.119 gist.github.com
    13.229.188.59 gist.github.com
    
    Vhc
        1
    Vhc  
       Nov 3, 2018
    我用
    https://gitlab.com/hunter/hosts

    一直可以使用 GitHub Gist
    ichou
        2
    ichou  
       Nov 3, 2018 via iPhone
    hosts 写 3 条可以负载均衡?
    fugu37
        3
    fugu37  
       Nov 3, 2018 via Android
    在本站可以找到一些无污染 dns 的
    duer
        4
    duer  
       Nov 3, 2018 via Android
    别和我搞 z 什么 dns hosts,我一瓶酸酸乳搞定一切
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1174 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 397ms · UTC 17:52 · PVG 01:52 · LAX 10:52 · JFK 13:52
    ♥ Do have faith in what you're doing.