查询以下地址的ip

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
140.82.114.3 github.com
185.199.108.153 assets-cdn.github.com
185.199.109.153 assets-cdn.github.com
185.199.110.153 assets-cdn.github.com
185.199.111.153 assets-cdn.github.com
199.232.5.194 github.global.ssl.fastly.net
140.82.114.4 gist.github.com
199.232.96.133 user-images.githubusercontent.com
199.232.96.133 cloud.githubusercontent.com
199.232.96.133 camo.githubusercontent.com
199.232.96.133 avatars2.githubusercontent.com
199.232.96.133 avatars1.githubusercontent.com
199.232.96.133 avatars0.githubusercontent.com
199.232.96.133 avatars3.githubusercontent.com
199.232.96.133 avatars5.githubusercontent.com
199.232.96.133 avatars6.githubusercontent.com
199.232.96.133 avatars4.githubusercontent.com
199.232.96.133 avatars7.githubusercontent.com
199.232.96.133 avatars8.githubusercontent.com
  • 为确保无误,自己再去测试以下IP
  • ip查询地址(查询)

修改Host

  • 修改方法=点击这里
  • windows host 路径:C:\Windows\System32\drivers\etc\hosts
  • Linux host 路径:/etc/hosts
  • 如图所示

刷新DNS

  • windows
    1
    ipconfig /flushdns
  • Liunx
    1
    2
    sudo /etc/init.d/dns-clean start
    sudo /etc/init.d/networking restart