此文件指定名称解析的方式。Linux 使用解析器库来获取与主机名对应的 IP 地址。以下是一个示例/etc/host.conf文件
# Lookup names via DNS first then fall back to /etc/hosts. order bind,hosts # We have machines with multiple addresses. multi on # Check for IP address spoofing. nospoof on