get domain [domain] hostname [hostname]