The online Puyncode encoding and decoding tool converts the international domain name to Punycode encoding in DNS to solve the problem that the DNS system only supports English domain name resolution.
What is Punycode?
Punycode (translated as: domain name code) is a limited character set that represents Unicode code and ASCII code. Early DNS (Domain Name System) only supports English domain name resolution. In order to ensure compatibility with the previous DNS, the IDNs (Internationalized Domain Names) are encoded into punycode. The encoded punycode consists of 26 letters+10 numbers and "-".
How does the browser support non English domain names? (such as Chinese domain name)
Because the core of the early operating system is English, and the DNS server only supports English characters, the DNS server does not support direct Chinese domain name resolution, The resolution of all Chinese domain names needs to be converted into the punycode code, and then the DNS resolves the punycode code. The browser supports Chinese domain name resolution, which is to automatically convert the Chinese domain name to the corresponding Punycode code, and then the DNS server resolves the Punycode code domain name.
Punycode Example :
- 中国.org : xn--fiqs8s.org
- 比心.爱 : xn--15tn2y.xn--u0x
- www.😉.com : www.xn--n28h.com