Solve github project download speed is too slow

the reason:

  Why slow access speed, download slow? github of CDN is a wall screen, and because of the network of agents, so access is very slow to download. Ping github.com, the speed of only 300 ms.

Solution:

  Bypassing the dns resolve, directly binding in the local host, the method may also accelerate other sites be blocked because CDN lead to slow access.

 

1, access ipaddress website https://www.ipaddress.com/ (or http://tool.chinaz.com/dns), to view the site corresponding IP address, enter the URL may be inspected to the corresponding IP address, which is a domain name query tool for mapping the relationship between 

2 queries github.global.ssl.fastly.net and github.com two addresses 

3, multi-check several times to select a stable low latency ip 

4, save the hosts inside the 

5, cmd inside flush the DNS cache ipconfig / flushdns

 

 

  The location of the hosts file: C: \ Windows \ System32 \ drivers \ etc

 

Github # 
151.101.44.249 github.global.ssl.fastly.net? 
192.30.253.113 github.com? 
103.245.222.133 assets-cdn.github.com? 
23.235.47.133 assets-cdn.github.com? 
203.208.39.104 Assets-CDN .github.com? 
204.232.175.78 documentcloud.github.com? 
204.232.175.94 gist.github.com? 
107.21.116.220 help.github.com? 
207.97.227.252 nodeload.github.com? 
199.27.76.130 raw.github.com? 
status.github.com 107.22.3.110? 
204.232.175.78 training.github.com? 
207.97.227.243 www.github.com? 
185.31.16.184 github.global.ssl.fastly.net? 
185.31.18.133 avatars0.githubusercontent.com?
185.31.19.133 avatars1.githubusercontent.com
Codeload.github.com 192.30.253.120 


# If you do not want to query the corresponding low latency ip, direct copy of these may also be used.

 

  

 

Guess you like

Origin www.cnblogs.com/yangk1996/p/10948806.html