Make sure to convert IDN names to punycode if necessary when trusting a domain.