Home >Backend Development >PHP Tutorial >hosts file is invalid

hosts file is invalid

WBOY
WBOYOriginal
2016-08-04 09:22:081639browse

The hosts file is invalid. Write 127.0.0.1 www.baidu.com in the hosts file. The ping domain name is the IP of the public network.
I saw that the hosts file type is ASII. I also changed the DNS client to manual and closed it, but it still doesn’t work.

Reply content:

The hosts file is invalid. Write 127.0.0.1 www.baidu.com in the hosts file. The ping domain name is the IP of the public network.
I saw that the hosts file type is ASII. I also changed the DNS client to manual and closed it, but it still doesn’t work.

Under win
ipconfig /flushdns Clear DNS cache
ipconfig /displaydns Display DNS list

Check it?
Under Linux (requires verification)
nscd -g View statistics nscd -i {passwd|group|hosts} Clear cache

Maybe it’s cache, as mentioned above

It is possible that the browser itself also caches the DNS resolution results. Try changing to another browser or clearing the browser cache

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn