read hostname and domain from env variables