The Domain Name Commission has won an injunction against a US data company that has been harvesting New Zealanders' private details.
DomainTools, a digital intelligence-gathering company, has for many years been collecting registration data about domain holders from the commission's register and selling it.
The commission earlier this year provided the option for people to withhold their address and phone number from publicly appearing in the online registration data search. More than 20,000 domain names have taken up the privacy option.
But DomainTools makes available historic records which show the now withheld information.
Commission spokesman Brent Carey said the the legal win was good news for .nz domain name holders and their privacy.
He said domain name systems in other countries would be paying attention to the judgement.
The commission is now going to court to permanently prevent DomainTools from building a secondary .nz database offshore which would be outside the commission's control.