Add support for domain in Consul configuration file