Network Configuration

/etc/hosts

English

Overview

A configuration file for manually registering hostname-to-IP-address mappings.

Details

A file defining a static mapping of hostnames to IP addresses, consulted before a DNS query is made. It's also commonly used to temporarily point a domain name at an arbitrary IP address for testing, overriding name resolution on the spot without touching any DNS server configuration.

More Linux terms