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(加快域名解析)
  2. convenient for LAN users(方便局域网用户)
  3. screened(屏蔽) website
  4. connecting the system smoothly
  5. force a domain name to correspond to an IP address

  

05-26 18:03