Some users are unable to connect to specific local hosts by name, while accessing hosts in other zones works as expected. Given that the hosts are reachable by their IP addresses, which is the default log file that could provide hints about the problem?

A. /var/named/log
B. /var/lib/named/dev/log
C. /var/log/bind_errors
D. /var/log/bind/errors
E. /var/log/messages

题解

选项 A,没有「/var/named/log」这个文件。

选项 B,「/var/lib/named/dev/log」并不是记录档,而是 DNS 服务器在 chroot 环境(例如 SUSE 的「/var/lib/named」)下运行时,用来把记录发送给 syslog 的 Socket。

选项 C,没有「/var/log/bind_errors」文件。

选项 D,没有「/var/log/bind/errors」文件。

选项 E,「/var/log/messages」文件存放着系统上几乎所有发生错误时的消息。