pub fn domain_to_ascii_strict(domain: &str) -> Result<String, Errors>
Expand description
The domain to ASCII algorithm,
with the beStrict
flag set.
Note that this rejects various real-world names including:
- YouTube CDN nodes
- Some GitHub user pages
- Pseudo-hosts used by various TXT record-based protocols.