13.2./etc/host.conf文件

您也应该检查您的/etc/host.conf文件是否正确设置。 应该看起来像
order hosts,bind
multi on

这告诉解析器在使用 DNS 进行解析之前,先使用主机文件中的信息。