/etc/hosts
0%

DNS · Lesson 4

/etc/hosts

Learn how local hosts-file mappings participate in Linux name resolution and how to test them safely.

/etc/hosts provides static address-to-name entries to the local system name-service stack. It is useful for loopback names, bootstrap dependencies, and narrowly scoped tests, but it does not publish records to other hosts or update DNS.