Use !ace to encode an International Domain Name (IDN) into ASCII Compatible Encoding (ACE), commonly known as Punycode. The command accepts full domain names, subdomains, and mixed-label hostnames containing Unicode characters.
!ace returns the ACE-encoded form of each label while preserving the dot-separated structure of the domain.
This command is especially useful when working with internationalized domains, emoji-based hostnames, security-sensitive IDN analysis, or debugging how Unicode domains are represented in DNS. It helps reveal potential homoglyph risks and encoding issues.