Internationalized Domain Name
Domain names written in non-Latin scripts and accented letters, made to work in an ASCII-only DNS by encoding them as xn-- strings, and the browser rules that decide when to show the real characters and when to show the code to block lookalike attacks.
An internationalized domain name, or IDN, is a web address containing characters beyond the basic Latin letters, digits, and hyphen: accented letters, Arabic, Chinese, Cyrillic, Devanagari, and other scripts. Most of the world's people don't write in the Latin alphabet, yet for the internet's first decades every name in the Domain Name System had to be spelled in it.
Changing the DNS itself to accept every script would have required updating software on every server and network, so the solution, standardized in 2003 and revised as IDNA2008, works around it. Names are converted to plain ASCII before they reach the DNS and converted back only for display. The encoding, called Punycode, turns a Unicode label into a string of permitted characters with the prefix "xn--" to mark it. A German domain for books, "bücher," travels as "xn--bcher-kva"; see Character Encoding and URL.
The conversion also normalizes names, mapping case and equivalent character forms to one canonical version so the same name can't be registered twice under different spellings, and IDNA2008 forbids many symbols outright, including emoji, though a few registries still allow emoji domains; see Emoji.
Internationalized top-level domains followed. In 2010 the first country codes in non-Latin scripts went live, beginning with Arabic-script domains for Egypt, Saudi Arabia, and the United Arab Emirates, and Russia's Cyrillic ".рф" registered hundreds of thousands of names within its first year. Generic top-level domains in many scripts were added later.
The main problem is that different scripts contain letters that look identical. Cyrillic "а" and Latin "a" are different characters that render the same, so an attacker can register a name that displays exactly like a well-known brand's, a gift to Phishing. In 2017 a researcher showed a domain spelled entirely in Cyrillic that Chrome and Firefox displayed as "apple.com". Browsers now decide per name whether to show the Unicode form or the raw "xn--" code, showing the code when a name mixes scripts in suspicious ways, uses letters confusable with another script throughout, or uses scripts unrelated to the user's languages. The rules shift with each new attack.
Support remains uneven beyond the browser. Many web forms reject addresses with non-ASCII characters, and email addresses with international characters in the part before the @ need additional standards that many mail systems still don't support. Certificates, cookies, and security policies all operate on the ASCII form, so developers must handle both; see HTTP Cookie and Same-Origin Policy.
IDNs are a case of a global system extended without replacing its foundations, compatible with the old infrastructure at the cost of a lasting translation layer; see Path Dependence.
See also2
Open Redirect
A page that forwards visitors to whatever address a URL parameter names, letting attackers borrow a trusted domain to launch phishing or steal sign-in tokens, and the narrow ways to fix it.
Web Platform15 connections
Top-Level Domain
The last part of a domain name, such as .com or .uk, organized in 1984 into a handful of generic names plus one per country, then opened to over a thousand new names and a source of income for some small nations.
Networks & Distribution7 connections
Linked from6
- Domain Name SystemSystems & Tooling
The distributed directory translating names to addresses, and the layer where propagation delays live.
- HTTP CookieWeb Platform
A small piece of state a server asks the browser to store and send back on later requests, governed by attributes that decide exactly where it goes.
- Open RedirectWeb Platform
A page that forwards visitors to whatever address a URL parameter names, letting attackers borrow a trusted domain to launch phishing or steal sign-in tokens, and the narrow ways to fix it.
- PhishingWeb Platform
Tricking people into handing over passwords, money, or access with messages and websites that impersonate someone they trust, the most common way attackers get in, and why technical defenses beat training.
- Same-Origin PolicyWeb Platform
The browser rule isolating documents by scheme, host, and port, and the mechanisms for relaxing it.
- Top-Level DomainNetworks & Distribution
The last part of a domain name, such as .com or .uk, organized in 1984 into a handful of generic names plus one per country, then opened to over a thousand new names and a source of income for some small nations.