Punycode (xn--) Email Domains Explained: IDN Routing & Homograph Safety
Learn what xn-- Punycode email domains are, how Internationalized Domain Names (IDNs) route through DNS, and how to spot look-alike homograph phishing domains.
Many legitimate websites and businesses around the world use domain names containing accented or non-Latin characters—such as münchen.de or café.example. Behind the scenes, however, core DNS infrastructure still operates on plain ASCII (a–z, 0–9, and -).
Punycode (defined in RFC 3492) bridges that gap for Internationalized Domain Names (IDNs).
How Punycode Encodes Non-ASCII Domains
Whenever a domain label contains non-ASCII characters, applications convert that label into an ASCII-Compatible Encoding (ACE) string prefixed with xn--:
münchen.debecomesxn--mnchen-3ya.decafé.combecomesxn--caf-dma.com
Each dot-separated label is converted independently, while pure ASCII labels (like .de or .com) remain unchanged. Crucially, both spellings refer to the exact same DNS zone and mail server.
Practical Compatibility Tips for IDN Email Addresses
While modern mail servers (Postfix, Dovecot, Gmail, Outlook) support IDN/SMTPUTF8 extensions, older web registration forms often validate email addresses with naive ^[a-z0-9._+-]+@[a-z0-9.-]+$ regular expressions:
- If a signup form rejects accented characters: Enter the
xn--ASCII form of the domain instead—mail routes to the identical destination. - Watch out for copy-paste encoding issues: Legacy ticketing systems occasionally corrupt Unicode characters; ASCII
xn--labels survive every plain-text pipeline intact. - Plain ASCII domains maximize compatibility: All default domains on Email Generator use clean ASCII
.my.idand standard zones so web forms never stumble over character encoding.
Security Warning: IDN Homograph Phishing Attacks
Because Cyrillic а (U+0430), Greek ο (U+03BF), and Latin a/o look identical in many fonts, attackers sometimes register look-alike domains that visually mimic trusted brands.
How to Spot a Homograph Disguise Instantly
1. Inspect the `xn--` representation: A genuine ASCII brand like apple.com or paypal.com never starts with xn--. If a link pretending to be an ASCII brand resolves to xn--pple-43d.com, it is a spoof!
2. Rely on Browser Address Bars: Chrome, Firefox, and Safari automatically display raw xn-- Punycode whenever a domain mixes scripts suspiciously.
3. Never enter passwords via unexpected email links: Navigate to critical accounts directly via bookmarks.
Related Guides
How SMTP Mailbox Verification Works: MX Lookup, RCPT TO & 550 Codes
A technical walkthrough of how mail servers verify whether a domain and mailbox can receive email using DNS MX records and SMTP response codes.
Subdomain Email Addresses Explained: How DNS Routing Works
What subdomain email addresses (like [email protected]) are, how independent subdomain MX records work, and how to isolate temporary mail on your own subdomain.
Custom Email Usernames & Wildcard MX Domains Explained
Learn the rules for valid email local-parts, why administrative prefixes are reserved, and how wildcard DNS MX records (*.example.com) route dynamic subdomains.
Try Email Generator Free
Generate a temporary email address instantly and receive incoming verification emails through an easy-to-use online inbox. No sign-up required.