Description
Local hostname overrides can be added, removed, and inspected from the command line.
It is useful for testing websites, mapping internal machines, or temporarily blocking domains without changing DNS servers. Because the hosts file affects the whole system, incorrect entries can make normal network access fail.