github初级加速,网页访问流畅

按照查阅的资料显示,国内无法使用github分布加速服务器是DNS污染导致的,解决思路是向DNS本地域名解析缓冲中添加github的域名映射ip地址,通过https://ip.tool.chinaz.com/ 查询的ip地址,将www.github.com映射的ip地址进行手动切换刷新DNS的解析缓冲可以链接到高速的通信通道,希望可以帮到开源的热爱者。

github最优地址

185.199.111.154              github.githubassets.com
140.82.112.21                central.github.com
185.199.111.133              desktop.githubusercontent.com
185.199.109.153              assets-cdn.github.com
185.199.108.133              camo.githubusercontent.com
185.199.109.133              github.map.fastly.net
151.101.129.194              github.global.ssl.fastly.net
140.82.114.4                 gist.github.com
185.199.108.153              github.io
140.82.112.4                 github.com
140.82.112.6                 api.github.com
185.199.110.133              raw.githubusercontent.com
185.199.111.133              user-images.githubusercontent.com
185.199.108.133              favicons.githubusercontent.com
185.199.109.133              avatars5.githubusercontent.com
185.199.109.133              avatars4.githubusercontent.com
185.199.111.133              avatars3.githubusercontent.com
185.199.111.133              avatars2.githubusercontent.com
185.199.109.133              avatars1.githubusercontent.com
185.199.109.133              avatars0.githubusercontent.com
185.199.111.133              avatars.githubusercontent.com
140.82.112.10                codeload.github.com
52.216.171.131               github-cloud.s3.amazonaws.com
52.217.134.105               github-com.s3.amazonaws.com
52.217.134.105               github-production-release-asset-2e65be.s3.amazonaws.com
52.216.164.139               github-production-user-asset-6210df.s3.amazonaws.com
52.217.67.28                 github-production-repository-file-5c1aeb.s3.amazonaws.com
185.199.109.153              githubstatus.com
140.82.112.17                github.community
185.199.108.133              media.githubusercontent.com
185.199.108.133              objects.githubusercontent.com
185.199.109.133              raw.github.com
20.221.80.166                copilot-proxy.githubusercontent.com

windows修改

修改本地DNS域名解析文件C:/Windows/System32/drivers/etc/hosts,在文件中添加如下高速ip地址

C:/Windows/System32/drivers/etc/

更新到DNS的解析缓冲,power shell中输入ipconfig /flushdns

ipconfig /flushdns

ubuntu修改

修改dns解析文件

sudo vi /etc/hosts

更新DNS缓冲

sudo resolvectl flush-caches