substitute os.uname()[1] with socket.getfqdn()