- find path C:\Windows\System32\drivers\etc\host
- open DNS detection and DNS query-Webmaster(DNS查询) tool (http://tool.chinaz.com/dns)
- enter the domain name in the test input field (example: github.com)
- input the IP with the lowest TTL value in the detection list into hosts, and write the domain name accordingly
remark:The function of host file
- speed up domain name resolution(加快域名解析)
- convenient for LAN users(方便局域网用户)
- screened(屏蔽) website
- connecting the system smoothly
- force a domain name to correspond to an IP address
How to solve the problem that Github can't visit in China?
原文地址:https://www.cnblogs.com/sunshinexiu/p/12433538.html
时间: 2024-10-10 18:16:13