aus der /etc/hosts , Ubuntu 16.04:
# The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters//edited: selbst wenn ich es da entferne, wird es per
host localhostimmer noch aufgelöst. Scheint also noch andere Ecken zu geben...
Nur zur Ergänzung:
Ausschnitt aus der Manpage von systemd-resolved
systemd-resolved synthesizes DNS resource records (RRs) for the following cases: [...]
· The hostnames "localhost" and "localhost.localdomain" (as well as any hostname ending in ".localhost"
or ".localhost.localdomain") are resolved to the IP addresses 127.0.0.1 and ::1.
so viel dazu