Provide more data in endpoint so registrars will have all they need.

Put this utility method elsewhere and make it public instead of using @VisibleForTesting

Consider relying on dnsjava parsing instead.