【说明】
计算机用户通常使用主机名来访问网络中的结点,而采用TCP/IP协议的网络是以IP地址来标记网络结点的,因此需要一种将主机名转换为IP地址的机制。
某台IP地址为222.35.40.1的服务器安装了Red Hat Linux操作系统,并使用BIND软件建立域名解析服务。该域名服务器上文件named.conf的部分配置内容如下。
options
directory’/var/named’;
;
zone ’.’
type hint;
file ’named.ca’;
;
zone ’localhost’ IN
file’localhost.zone’
allow-updatenone; ;
;
zone 0.0.127.in-addr.arpa’
type master;
file ’named.local’;
;
zone ’test.com’
type master;
file ’test.com’;
;
zone ’40.35.222.in-addr. arpa’
type master;
file ’40.35.222’;
;
include "/etc/rndc.key";
【问题4】
通常,DNS的资源记录文件是在 (9) 文件中定义的。
- A./etc/hosts
- B./etc/host.conf
- C./etc/resolv.conf
- D./etc/named.conf