able

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

  •  
  •   able · Nov 2, 2018 · 3330 views
    This topic created in 2925 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
    Vhc
    Nov 3, 2018
    1
    我用
    https://gitlab.com/hunter/hosts

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