Home » LPI » 117-201 » How would you ensure that host entries show by name rather than by IP?
While checking the logfiles on your log server, you notice that all client machines are showing up by IP address rather than by hostname, although DNS is configured and running. How would you ensure that host entries show by name rather than by IP?
A. Restart named and then syslogd on the log server.
B. Add the central logging server to all inbound logging hosts’ /etc/hosts.
C. Recompile syslogd to add remote logging support.
D. Restart syslogd on the inbound logging clients to force DNS resolution.
E. Add all inbound logging hosts to /etc/hosts on the log server, then restart syslogd.
Correct Answer: E
Explanation/Reference:
Explanation: I don’t know why the DNS resolution isn’t working for the syslog daemon. It could be that there are lots of log entries and that the DNS requests are timing out. Therefore, adding the inbound logging hosts to /etc/hosts on the log server will enable local hostname resolution, thus negating the need to use DNS.
Incorrect Answers
A:The question states that DNS is configured and running and therefore does not need to be restarted.
B:This won’t work. The clients are able to contact the logging server. Adding the central logging server to all inbound logging hosts’ /etc/hosts files won’t affect how the logging server records the log entries.
C:Remote logging support is already enabled because the IP addresses are being logged.
D:DNS resolution needs to be forced on the server, not the clients.
Download Printable PDF. VALID exam to help you PASS.
|
|