Strip the empty space in DnsName