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

hosts file is invalid

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-08-04 09:22:08
Original
1655 people have browsed it

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

Related labels:
php
source:php.cn
Statement of this Website
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template