How to solve the problem that Github can't visit in China?

  1. find path C:\Windows\System32\drivers\etc\host
  2. open DNS detection and DNS query-Webmaster(DNS查询) tool (http://tool.chinaz.com/dns)
  3. enter the domain name in the test input field (example: github.com)
  4. 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

  1. speed up domain name resolution (DNS accelerate)
  2. convenient for LAN users (user convenience LAN)
  3. Screened (shielded) Website
  4. connecting the system smoothly
  5. force a domain name to correspond to an IP address

  

Guess you like

Origin www.cnblogs.com/sunshinexiu/p/12433538.html