目录
一. 问题
网络巨慢,摘录一下,后续事宜;
二. 代码
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
#
##
# Github DNS
#
# - github.com
# - assets-cdn.github.com
# - github.global.ssl.fastly.net
#
# 1. the reference url:
# external tools(the recommend):
# - https://www.ipaddress.com/reverse-ip-lookup
# - https://github.com.ipaddress.com/
# - https://github.com.ipaddress.com/assets-cdn.github.com
# - https://fastly.net.ipaddress.com/github.global.ssl.fastly.net
# - https://fastly.net.ipaddress.com/stackoverflow.global.ssl.fastly.net
# - https://githubassets.com.ipaddress.com/github.githubassets.com
# - https://githubusercontent.com.ipaddress.com/avatars.githubusercontent.com
# internal tools:
# - https://tool.chinaz.com/dns
# - https://tool.chinaz.com/dns?type=1&host=github.com&ip=
# - https://tool.chinaz.com/dns?type=1&host=assets-cdn.github.com&ip=
# - https://tool.chinaz.com/dns?type=1&host=github.global.ssl.fastly.net&ip=
# - https://tool.chinaz.com/dns?type=1&host=stackoverflow.global.ssl.fastly.net&ip=
#
# 2. the upgrade dns cache
# - windows: `ipconfig /flushdns`
# - linux: `systemctl restart nscd`
# - mac: `dscacheutil -flushcache` or `sudo dscacheutil -flushcache` or
# `sudo killall -HUP mDNSResponder`
#
# 140.82.113.4 github.com
#
# ping -c 4 140.82.112.4
# ping -c 4 185.199.108.153
# ping -c 4 185.199.109.153
# ping -c 4 185.199.110.153
# ping -c 4 185.199.111.153
# ping -c 4 199.232.69.194
# ping -c 4 199.232.69.194
##
#
140.82.112.4 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
185.199.108.154 github.githubassets.com
185.199.109.154 github.githubassets.com
185.199.110.154 github.githubassets.com
185.199.111.154 github.githubassets.com
199.232.69.194 github.global.ssl.fastly.net
199.232.69.194 stackoverflow.global.ssl.fastly.net
185.199.108.133 avatars.githubusercontent.com
185.199.109.133 avatars.githubusercontent.com
185.199.110.133 avatars.githubusercontent.com
185.199.111.133 avatars.githubusercontent.com
#
# stackoverflow.com DNS:
#
# 1. https://stackoverflow.com.ipaddress.com/
#
151.101.193.69 stackoverflow.com
151.101.65.69 stackoverflow.com
151.101.129.69 stackoverflow.com
151.101.1.69 stackoverflow.com
更新 DNS 缓存:
#
# the upgrade dns cache:
#
# - windows: `ipconfig /flushdns`
# - linux: `systemctl restart nscd`
# - mac: `dscacheutil -flushcache` or `sudo dscacheutil -flushcache` or
# `sudo killall -HUP mDNSResponder`
三. 参考
- https://www.ipaddress.com/reverse-ip-lookup
- https://github.com.ipaddress.com/
- https://github.com.ipaddress.com/assets-cdn.github.com
- https://fastly.net.ipaddress.com/github.global.ssl.fastly.net
- https://fastly.net.ipaddress.com/stackoverflow.global.ssl.fastly.net
- https://githubassets.com.ipaddress.com/github.githubassets.com
- https://githubusercontent.com.ipaddress.com/avatars.githubusercontent.com
- https://stackoverflow.com.ipaddress.com/
- https://tool.chinaz.com/dns
- https://tool.chinaz.com/dns?type=1&host=github.com&ip=
- https://tool.chinaz.com/dns?type=1&host=assets-cdn.github.com&ip=
- https://tool.chinaz.com/dns?type=1&host=github.global.ssl.fastly.net&ip=
- https://tool.chinaz.com/dns?type=1&host=stackoverflow.global.ssl.fastly.net&ip=
(完)