Use socket.getfqdn() insert of `dnsdomainname` to get the domain name of
the server