Jump to content


From Wikipedia, the free encyclopedia
TLD typeReserved top-level domain
StatusReserved to prevent conflict and confusion
Intended useIn documentation or for internal testing
StructureThose using it for testing can use it in any desired structure
DocumentsRFC 2606

.test is a reserved top-level domain used to test websites or web applications as an alternative to testing webpages using the default localhost. It is guaranteed to never be registered into the Internet.[1][2]

Along with .test, there are 11 other reserved test domains: .测试, .परीक्षा, .испытание, .테스트, .טעסט, .測試, .آزمایشی, .பரிட்சை, .δοκιμή, .إختبار, and .テスト.[3]

Reserved DNS names


In June 1999, the Internet Engineering Task Force reserved the DNS labels .example, .invalid, .localhost, and .test so that they may not be installed into the root zone of the Domain Name System.[1]

These top-level domain names were reserved to reduce the likelihood of conflict and confusion.[2] This allows their usage for either documentation purposes or in local testing scenarios. IANA.org states "Domains which are described as registered to IANA or ICANN on policy grounds are not available for registration or transfer, with the exception of country-name.info domains. These domains are available for release by the ICANN Governmental Advisory Committee Secretariat."[4]


  1. ^ a b Leiba, Barry (2009). "The Good and the Bad of Top-Level Domains". IEEE Internet Computing. 13 (1). IEEE: 69. doi:10.1109/MIC.2009.23. ISSN 1941-0131. S2CID 260466. As a way to avoid this problem, the IETF published Best Current Practice (BCP) 32 in 1999. BCP 32, also known as RFC 2606, defines four reserved TLDs — .test, .example, .invalid, and .localhost ... that are guaranteed never to be assigned so that researchers and developers can always use them for example and testing purposes without concern.
  2. ^ a b D. Eastlake; A. Panitz (June 1999). Reserved Top Level DNS Names. Network Working Group. doi:10.17487/RFC2606. BCP 32. RFC 2606. Best Common Practice. Updated by RFC 6761.
  3. ^ "IANA — Root Zone Database". www.iana.org. Retrieved 2022-05-07.
  4. ^ "IANA-managed Reserved Domains".