Dear Maintainer, When running d-i in a dhcp environment and when fqdn is only provided with dhcp and not available dns, udhcpc will drop the domainname in /etc/hosts like: But `hostname -d` will never read this file because the nsswitch.conf is incorrectly configured (will only query dns by default). A patch is provided to fix this. Thanks!