自动获取github.com下的域名对应解析到的IP,针对国内用户解决无法正常访问Github的问题
参考文章:https://51.ruyo.net/17580.html
使用Golang编写,第一次用golang写一些小东西。有不对的地方请大佬们指点!
#本地需要安装golang环境
go run .\doit.go
Windows 可直接运行 github_hosts.exe
Linux 可直接运行 github_hosts
####################Github Start####################
140.82.112.26 alive.github.com
140.82.114.25 live.github.com
185.199.108.154 github.githubassets.com
140.82.113.21 central.github.com
185.199.108.133 desktop.githubusercontent.com
185.199.108.153 assets-cdn.github.com
185.199.108.133 camo.githubusercontent.com
185.199.108.133 github.map.fastly.net
151.101.1.194 github.global.ssl.fastly.net
140.82.112.4 gist.github.com
185.199.108.153 github.io
140.82.114.4 github.com
192.0.66.2 github.blog
140.82.114.6 api.github.com
185.199.108.133 raw.githubusercontent.com
185.199.108.133 user-images.githubusercontent.com
185.199.108.133 favicons.githubusercontent.com
185.199.108.133 avatars5.githubusercontent.com
185.199.108.133 avatars4.githubusercontent.com
185.199.108.133 avatars3.githubusercontent.com
185.199.108.133 avatars2.githubusercontent.com
185.199.108.133 avatars1.githubusercontent.com
185.199.108.133 avatars0.githubusercontent.com
185.199.108.133 avatars.githubusercontent.com
140.82.112.9 codeload.github.com
16.182.68.241 github-cloud.s3.amazonaws.com
3.5.29.79 github-com.s3.amazonaws.com
3.5.8.181 github-production-release-asset-2e65be.s3.amazonaws.com
3.5.9.225 github-production-user-asset-6210df.s3.amazonaws.com
3.5.22.145 github-production-repository-file-5c1aeb.s3.amazonaws.com
185.199.108.153 githubstatus.com
140.82.113.18 git.luolix.topmunity
52.224.38.193 github.dev
185.199.108.133 media.githubusercontent.com
# Last Update Time : 2024-11-22 12:01:47
# Github: https://github.com/malaohu/GitHubHosts
# Article: https://51.ruyo.net/17580.html
####################Github End####################