What to do if GitHub is contaminated by DNS?
This article mainly explains "how to deal with GitHub contaminated by DNS". The content of the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn how to deal with GitHub contaminated by DNS.
1. Find the ip of github
Https://www.ipaddress.com
two。 Modify local hosts
in Windows systems, including XP, Win7, Win8 and the latest Win10 systems, hosts files are located in the Windows folder of the system disk, and the file location path is as follows.
C:\ WINDOWS\ system32\ drivers\ etc\ hosts
first uses the Win + R keyboard shortcut to open the run command box, and then type or paste the path of the Hosts file above after opening, as shown in the figure.
then edit the hosts file and add a command to the file as follows.
113.108.xx.xx raw.githubusercontent.com
3.cmd executes refresh DNS command
Ipconfig/flushdns thank you for reading, the above is the content of "how to deal with GitHub contaminated by DNS", after the study of this article, I believe you have a deeper understanding of how to deal with GitHub contaminated by DNS, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!