use `socket.getfqdn` to get local hostname instead