hostname -f return the correct fqdn opsi.mydomain.de
getent $(hostname -f) return correct IP and fqdn 192.168.1.150 opsi.mydomain.de
EDIT: if I assign hostname to loopback address by adding
Code: Alles auswählen
127.0.0.2 opsi.mydomain.de
Code: Alles auswählen
127.0.0.2 opsi.mydomain.de