解析器来获得主机名对应的IP地址
# vim /etc/host.conf order bind,hosts multi on nospoof on
order bind, hosts:指定主机名查询顺序,这里规定先使用DNS服务器来解析域名,然后再查询/etc/hosts文件
multi on:表示在/etc/hosts文件中指定的主机是否可以有多个地址,拥有多个IP地址的主机一般称为多穴主机
nospoof on:表示不允许对该服务器进行IP地址欺骗。IP地址欺骗是一种攻击系统安全的手段,通过把IP地址伪装成别的计算机,来取得其他计算机的信任