Having underscore in sub-domain is a valid use case, but currently not supported by the library. Please see - https://stackoverflow.com/questions/2180465/can-domain-name-subdomains-have-an-underscore-in-it