free of dns_domain malloc