Linux cannot resolve the DNS solution. Today, you need to call the Weibo interface to add a website to the server, but it cannot be implemented in any way. At the beginning, the solution was to dig the interface IP address and add the hosts resolution to implement interface communication. Later, I thought this was not a fundamental solution. View/etc/resolv. conf. There are many rows of nameserver, and # comments are added for those that cannot be parsed. Later, a php test file could not be parsed. Test file content more test. php <? Php echo file_get_contents ("http://www.baidu.com"); phpinfo () ;?> The test. php file cannot be opened during access to the root directory. The following is a solution. View the host name = localhost. aaa on the local machine and write the following content in the/etc/resolv. conf file: # aaa # note the hostname value nameserver 114.114.114.114 nameserver 8.8.8.8 to delete all redundant nameservers. Restart the NIC/etc/init. d/network restar to test the access to test. php. VSFTP service is also available on the local machine, which indicates that browsing or transferring files is slow. Another method for searching through the network is in vsftpd. add reverse_lookup_enable = NO to the conf file and restart vsftpd.