Punycode
A standard way to write domain names that contain non-English characters using only the plain letters, digits and hyphens the domain system accepts.
In more detail
A domain with characters from other scripts is converted to a form that starts with xn-- before it is looked up. Browsers usually show the friendly form, which is how a domain using a Cyrillic letter can pass for a real English one. Converting a suspicious domain to its xn-- form reveals that it is not the name it appears to be.
Examples
wire = domain.encode("idna").decode()еxample.com -> xn--xample-2of.comRelated terms
- homoglyph — A character that looks the same, or almost the same, as a different character, such as a Cyrillic letter that looks like an English e.
- Unicode — The standard that gives every character in every writing system its own number, called a code point.
- domain name — A human-readable name, such as www.example.com, organised as labels from most specific on the left to the top-level domain on the right.
- DNS — The system that turns names such as learnsome.tech into IP addresses.
Taught in
- Social Engineering, Phishing & Human Defense — Cybersecurity Fundamentals, GRC & Cryptography