dnsidnpunycode

An official or defacto EXAMPLE.COM for IDNs?


I'm writing unit tests and want a publicly queryable IDN that I can use in my tests. Does IANA or another body maintain an IDN equivalent to example.com? If not, is there a defacto alternative that serves the same purpose and is reliable?

I need an IDN that publicly resolves to a real IP address but it doesn't matter if the address is not publicly routable.

The closest thing I found so far are the two domains listed as IDN examples on w3.org:


Solution

  • ICANN runs some example domains that should suit you, described in UASG004 and listed as plaintext in an attachment to UASG004. They should remain reachable in the long term, so pick one or two and use it/them.

    I know that one of them is a grammar error. It pains me.

    I include four of them, since answers should be self-contained: համընդհանուր-ընկալում-թեստ.հայ, সর্বজনীন-স্বীকৃতির-পরীক্ষা.ভারত, универсальное-принятие-тест.москва and सार्वभौमिक-स्वीकृति-परीक्षण.संगठन. These four are good for unit tests, being easy to cut and paste, left-to-right, and fairly easy to read for those who don't know the scripts.

    These domains were selected by the UASG and are kept running by ICANN, so they should be stable in the long run.