The /etc/hosts file is used for local DNS resolution, while the /etc/hosts.allow and /etc/hosts.deny files are used to allow/deny access to the local services. Refer to the page under the NETWORKING section for more information.
/etc/hosts
/etc/hosts.allow
/etc/hosts.deny
NETWORKING
Last updated 10 months ago