await api.domains.remove("example.com");api.domains.remove("example.com")The order matters
Move the nameservers before detaching, not after
While the registrar still points here and the zone is gone, the domain resolves to nothing: the site, the mail and everything else stop. Point the registrar at its new home first, then detach.
What goes with it
- The zone, and every record in it.
- The mail hosts configured on it — and mailboxes on those hosts stop receiving.
- Any hostname served through it.
The registration is untouched
We hold DNS, not the registration. Detaching changes nothing at the registrar and nothing about who owns the name.
A zone that existed before us is not destroyed
A domain whose zone was already here when it was attached keeps it. Its records were not ours to create and they are not ours to delete.