Make sprintDomain public as NameToString
Add dns.Name as a type

This can be used for printing names.