hosts: add localhost with loopback addresses

Prevent resolving localhost over the network when using software that reads /etc/hosts directly or when not using nss-myhostname.

See https://wiki.archlinux.org/title/Network_configuration#localhost_is_resolved_over_the_network

/cc @felixonmars

Merge request reports

Loading