endpoint.domain() returns the endpoint