https://www.jianshu.com/p/642e658577f1
1)百度搜索’查询网址dns,或者’可以直接输入网址
https://tool.chinaz.com/dns/
http://tool.chinaz.com/dns?type=1&host=github.com&ip=
![](https://img2020.cnblogs.com/blog/1501440/202109/1501440-20210925125406943-1930796559.png)
2)检测https://github.com得到响应IP,添加IP到hosts文件中
windows C:WindowsSystem32driversetchosts
Mac 在Finder中同时按“Shift”“Command”“G”三个键,输入“/etc/hosts”
linux /etc/hosts
方法一直接修改hosts文件,添加下面IP到文件中
13.229.188.59 github.com
140.82.112.4 github.com