国内訪問githubの遅い問題を解決する
666 ワード
テキストリンク:https://segmentfault.com/a/1190000015879053
1.ブラウザでのアクセスhttps://www.ipaddress.com/、github.com、github.global.ssl.fastly.net対応ipをそれぞれ取得
本人が取得したipは以下の通りです.
2.hostファイルを修正する(本人はswitchHostツールでhostを切り替える)
3.DNSキャッシュの更新
4.再アクセスhttps://github.comあ、早いのか!!!
1.ブラウザでのアクセスhttps://www.ipaddress.com/、github.com、github.global.ssl.fastly.net対応ipをそれぞれ取得
本人が取得したipは以下の通りです.
192.30.253.112 github.com
151.101.13.194 github.global.ssl.fastly.net
2.hostファイルを修正する(本人はswitchHostツールでhostを切り替える)
$ pwd
/c/Windows/System32/drivers/etc
HOSTS :
# Additionally,
# lines or following the machi
192.30.253.112 github.com
151.101.13.194 github.global.ssl.fastly.net
3.DNSキャッシュの更新
C:\Users\xxx>ipconfig /flushdns
Windows IP
DNS 。
4.再アクセスhttps://github.comあ、早いのか!!!