// XString is like String, but only returns UTF-8 domains if utf8 is true.
func(dIPDomain)XString(utf8bool)string{
ifd.IsIP(){
// todo: check callers if this is valid syntax for them. should we add [] for ipv6? perhaps also ipv4? probably depends on context. in smtp, the syntax is [<ipv4>] and [IPv6:<ipv6>].