/etc/host.conf 文件内容解析
2014-03-31 19:11
363 查看
*/etc/host.conf 文件
该文件指定如何解析主机名。Linux通过解析器库来获得主机名对应的IP地址。下面是一个“/etc/host.conf”的示例:
order bind,hosts
multi on
ospoof on
“order bind,hosts”指定主机名查询顺序,这里规定先使用DNS来解析域名,然后再查询“/etc/hosts”文件(也可以相反)。
“multi on”指定是否“/etc/hosts”文件中指定的主机可以有多个地址,拥有多个IP地址的主机一般称为多穴主机。
“nospoof on”指不允许对该服务器进行IP地址欺骗。IP欺骗是一种攻击系统安全的手段,通过把IP地址伪装成别的计算机,来取得其它计算机的信任。
该文件指定如何解析主机名。Linux通过解析器库来获得主机名对应的IP地址。下面是一个“/etc/host.conf”的示例:
order bind,hosts
multi on
ospoof on
“order bind,hosts”指定主机名查询顺序,这里规定先使用DNS来解析域名,然后再查询“/etc/hosts”文件(也可以相反)。
“multi on”指定是否“/etc/hosts”文件中指定的主机可以有多个地址,拥有多个IP地址的主机一般称为多穴主机。
“nospoof on”指不允许对该服务器进行IP地址欺骗。IP欺骗是一种攻击系统安全的手段,通过把IP地址伪装成别的计算机,来取得其它计算机的信任。
相关文章推荐
- 转:linux .o,.a,.so文件解析
- 修改内核/etc/sysctl.conf文件内容说明
- redis.conf 配置文件
- nginx host not found in upstream "jewelry.360nk.com" in /etc/nginx/conf:94
- [网络相关]/etc/host.conf & /etc/hosts/ & /etc/resolv.conf等等
- 全面解析Linux profile文件
- ubuntu 系统 /etc/profile, ~/.profile, ~/.bashrc, ~/.bash_logout,~/.bash_history 文件的内容及解析
- 【原创】host 文件
- 网络配置文件详解――/etc/host.conf
- find 查找文件内容
- host.conf 文件 全部选项解析
- 关于 /etc/passwd 文件
- radvd.conf RADVD配置文件内容部分解析
- 转:linux .o,.a,.so文件解析
- /etc/ld.so.conf文件
- Source Insight解析Linux内核的c.tom文件内容
- 非常详细的rsyslogd & logrotate配置文件解析
- ORACLE 参数文件
- /etc/ld.so.conf文件
- 通过cat 数据文件来合并 myisam表