单选题
一台PC服务器,安装Linux并配置DNS服务。检查文件
(44)
发现内容为“order hosts”。
A、
/etc/resolv.conf
B、
/etc/host.conf
C、
/etc/linux.conf
D、
/etc/sys.conf
【正确答案】
B
【答案解析】
[分析] 文件/etc/host.conf包含了为解析库声明的配置信息。它应该每行含一个配置关键字,其后跟着合适的配置信息。系统识别的关键字有:order、trim,multi、nospoof和reorder。
/etc/resolv.conf为解析配置文件,/etc/hosts为本地主机数据库。
提交答案
关闭