Changed agent to look up console's private domain name