How can an administrator prevent /etc/hosts from overriding DNS resolution?

How can an administrator prevent /etc/hosts from overriding DNS resolution?

How can an administrator prevent /etc/hosts from overriding DNS resolution?

A.
Use a higher serial number in the DNS zone file.

B.
Move the NIS entry beneath the DNS entries in /etc/resolv.conf.

C.
Use a firewall to close the port used by "hosts".

D.
Change the order in which DNS and hosts are used by editing /etc/nsswitch.conf.



Leave a Reply 1

Your email address will not be published. Required fields are marked *


mr_tienvu

mr_tienvu

I have the same idea. D