|Introduced||19 January 1987|
|TLD type||Country code top-level domain|
|Intended use||Entities connected with New Zealand|
|Actual use||Popular in New Zealand|
|Registered domains||724,001 (February 2021)|
|Registration restrictions||No restrictions under most second-level names; a few are "moderated" meaning that eligibility is checked before registration is granted|
|Structure||Names are registered at the second level or at the third level within certain second-level categories|
|Dispute policies||Dispute and Complaint Process|
|Registry website||NZRS Limited|
Domain Name Commission
.nz is the Internet country code top-level domain (ccTLD) for New Zealand. It is administered by InternetNZ, with oversight and dispute resolution handled by the Domain Name Commission Limited (DNCL). Registrations are processed via authorised registrars. As of February 2021 there were 724,001 registered .nz domains.
As with many long-standing domain registries the registry was maintained informally for some time. The first formally recognised administrative organisation was the University of Waikato until the responsibility was delegated to InternetNZ when it was formed in 1995.
Prior to the current structure, the registry operator of .nz was Domainz. Historically, Domainz was a subsidiary of InternetNZ which also operated as a registrar and vendor of other add-on services such as DNS. This combination of a natural monopoly (the registry activities) and vertical integration (the registrar and other services) was seen by some as restricting competition so InternetNZ moved to separate the provision of registry services into a separate organisation with strong oversight. The final part of this transition process was the sale of Domainz to Melbourne IT in August 2003.
From 1 April 2008 the "Office of the Domain Name Commissioner" (several employees of InternetNZ, including the Domain Name Commissioner herself) became the "Domain Name Commission Limited", a subsidiary company of InternetNZ. 
There are a number of second-level domains that identify whether the user is a company, a non-commercial organisation, government body or other classification.
In October 2013, InternetNZ decided to allow domain names to be registered at the second level in the .nz domain name space, aligning the .nz domain name space with a majority of other top level domains that already allow registrations directly at the second level. The second level domain names were launched with a sunrise period from 30 September 2014 to 30 March 2015 (to allow people with similar domains to register the shorter version). From 30 March 2015 .nz domain names were available to everyone.
The early New Zealand second-level domains 'ac.nz', '.co.nz' and '.govt.nz' were based on those used in the UK. At the time it was considered desirable that the names were not in use as first-level domains, so '.edu.nz', '.com.nz' and '.gov.nz' were rejected. There are also sub-level domains unique to New Zealand, such as 'iwi.nz' for Māori iwi and the broader 'maori.nz' for other Māori organisations, and 'geek.nz' for 'geeks'.
The following second-level domains are in use with their official descriptions. Since only some of the domains are moderated, it is possible to register outside the area intended.
The shared registry system (SRS), initially developed in 2002, is both the name of the core .nz registry system and the name of one of two main protocols, SRS protocol, used to communicate with the registry system. Since 2010, the SRS has also supported the extensible provisioning protocol (EPP), which is now a common standard used by registries.
The SRS has been released as open source software, the last published version was made in 2010 and can be found on SourceForge.
In September 2019, InternetNZ announced their intention to replace the SRS and that the new system will not include the SRS protocol.
On 22 July 2010, the Domain Name Commission announced that .nz domain names with macron vowels (ā, ē, ī, ō and ū) would be available from the following week to allow Māori language words to be correctly represented in domain names.