Two-factor authentication for domain accounts: preventing domain hijacking
How domains get hijacked and how to stop it: 2FA, email security, registrar lock vs registry lock, and monitoring, following ICANN SSAC advice.
On this page
Short answer: most domain hijackings start with a stolen password, either for the registrar account or for the email account that can reset it. Turn on two-factor authentication on both. Keep the transfer lock on, use a unique contact email on a different domain, and watch for changes to nameservers and DNS. For very high-value domains, ask whether your registrar offers a registry lock, which a stolen password can't undo. This is the core of ICANN's Security and Stability Advisory Committee (SSAC) guidance for registrants.
Sources below were checked on 2 November 2026.
How domains get hijacked
The pattern hasn't changed much since ICANN's SSAC studied it in SAC007, "Domain Name Hijacking" (July 2005) (ICANN):
- Account takeover. A phished, reused or guessed password for the registrar account. From there, an attacker can change nameservers, edit DNS, reveal the auth code and transfer the domain.
- Email takeover. Control of the account's email address means control of password resets and transfer confirmations. An expired domain used for that email address is a classic weak spot.
- DNS tampering. In 2019, the US Cybersecurity and Infrastructure Security Agency (CISA) issued Emergency Directive 19-01 after attackers used stolen credentials to change DNS records and redirect traffic. It required agencies to audit DNS records, change DNS account passwords, add multi-factor authentication and monitor Certificate Transparency logs (CISA ED 19-01). The directive is now closed, but the checklist is still good.
- Expiry. A domain that lapses can be re-registered by someone else. That isn't hijacking in the strict sense, but the effect is the same.
Layer 1: Lock down the registrar account
- Use a unique, long password from a password manager. Reused passwords are the first thing attackers try.
- Turn on two-factor authentication. ICANN's SSAC guide for registrants, SAC044, "A Registrant's Guide to Protecting Domain Name Registration Accounts" (November 2010), recommends protecting account access with strong credentials or multi-factor authentication (SAC044).
- Save the backup codes offline, so losing your phone doesn't lock you out or tempt you to switch 2FA off.
- Limit who has access. Give staff and agencies their own logins where your registrar allows it, and remove access when people leave.
At GetNameDot: go to Account settings → Enable 2FA, scan the key into any TOTP app (Google Authenticator, Microsoft Authenticator, 1Password, Authy and others), confirm with a code and save your backup codes. We also email you on sign-ins from new IP addresses and on password changes, and you can sign out all other devices from Account settings. Step by step: two-factor authentication help.
Layer 2: Secure the email behind it
Whoever controls the account email can reset the password. So:
- Turn on 2FA on that mailbox too.
- Use an address on a different domain from the ones you're protecting. SAC044 recommends contact email addresses on a different domain, managed at a different account. If example.com is hijacked or expires, a contact address at example.com can't be used to recover it.
- Prefer a role address (a shared admin mailbox) over one person's inbox, so access survives staff changes.
- Keep that other domain on auto-renew.
Layer 3: Transfer lock (registrar lock)
The transfer lock sets the EPP status clientTransferProhibited. The registry then refuses transfer requests until the lock is removed. Registrars often add clientUpdateProhibited and clientDeleteProhibited for the same kind of protection against changes and deletion (ICANN EPP status codes).
At GetNameDot, the transfer lock is switched on automatically when a domain is registered or transferred in, on extensions whose registry supports it. You can toggle it per domain, or for up to 50 domains at once in bulk domain management. Some country registries, including .de, .uk and .nl, don't use a registrar-set transfer lock. They protect transfers with the auth code or registrant confirmation instead, so the auth code itself matters more there.
Treat the auth code like a password. Reveal it only when you're actually transferring, don't email it around, and if you think it leaked, ask for a new one. Our EPP/auth code guide explains how codes work.
Layer 4: Registry lock (for high-value domains)
A registrar lock can be removed by anyone who gets into your registrar account. A registry lock can't. It uses the server statuses, set by the registry: serverTransferProhibited, serverUpdateProhibited and serverDeleteProhibited. At Verisign, which runs .com and .net, a domain counts as registry-locked only when all three are present. Unlocking requires out-of-band authentication between Verisign and the registrar (Verisign Registry Lock). ICANN notes that some registries offer such a service, accessed through the registrar.
Registry lock makes every change slower, including legitimate nameserver changes. It's worth it for domains whose loss would stop a business: your main brand, your mail domain, payment pages. GetNameDot doesn't currently offer registry lock. If you need it, ask your registrar whether it supports the service for your extension.
Layer 5: Monitor
Hijacks are often caught by someone noticing a change. SAC044 recommends monitoring registration and DNS data. Practical ways:
- Check registration status periodically with a WHOIS lookup: registrar, expiry date, status codes and nameservers. An unexpected registrar or missing lock status is a red flag.
- Watch DNS. A scheduled
dig example.com NSanddig example.com MXthat alerts you on change catches the redirects CISA warned about. - Watch Certificate Transparency logs for certificates you didn't request. Attackers who control DNS can obtain valid TLS certificates for your domain.
- Read the alerts you already get. New-IP sign-in emails and expiry reminders are only useful if they go to an inbox someone reads.
- Keep auto-renew on with a valid card, so the domain can't lapse. See what happens when a domain expires.
Layer 6: DNSSEC (it protects answers, not your account)
DNSSEC signs your DNS answers, so validating resolvers can detect forged responses on the way. It doesn't stop someone who controls your registrar account from changing nameservers, but it closes a different hole. At GetNameDot, DNSSEC comes with Premium DNS.
If it happens anyway
- Contact your registrar's support immediately. Give the domain, when you noticed and what changed. Speed matters most while the domain is still at your registrar.
- Secure the accounts. Change the passwords for the registrar account and the email account, turn on 2FA, and sign out all other sessions.
- Restore DNS from your saved copy of the zone.
- Keep evidence: screenshots, RDAP records with timestamps, sign-in alert emails.
- If the domain was transferred, the new registrar must be involved too. Your registrar can contact it.
Checklist
| Control | Done when |
|---|---|
| Unique password | Stored in a password manager, used nowhere else |
| 2FA on registrar account | TOTP enabled, backup codes stored offline |
| 2FA on the account email | Enabled |
| Contact email on another domain | That domain on auto-renew |
| Transfer lock | On for every domain that supports it |
| Auth codes | Revealed only during a transfer |
| Registry lock | Considered for your most critical domains |
| Monitoring | Registration status, NS/MX changes and CT logs checked |
| Auto-renew | On, with a valid card |
| DNS backup | Zone exported and stored |
Moving domains to a registrar with these controls? Follow the switch registrar checklist so nothing breaks on the way.
Frequently asked questions
What is domain hijacking?
Taking control of a domain without the owner's permission, usually by getting into the registrar account or the email behind it. The attacker then transfers the domain away or changes its nameservers or DNS records to redirect the website and email.
Does two-factor authentication stop domain hijacking?
It stops the most common route: a stolen or guessed password for the registrar account. Combine it with 2FA on the email account that can reset that password, a transfer lock on every domain, and monitoring of nameserver and DNS changes.
What is the difference between a registrar lock and a registry lock?
A registrar lock (clientTransferProhibited) is a status your registrar sets and you can switch off in your account. A registry lock uses server statuses set by the registry, and removing them requires an out-of-band verification between the registry and the registrar, so a stolen password alone can't undo it.
Does GetNameDot offer registry lock?
No, not at present. GetNameDot offers TOTP two-factor authentication with backup codes, sign-in alerts for new IP addresses, and a transfer lock that is switched on automatically after registration or transfer-in where the registry supports it.
What should I do if my domain is hijacked?
Contact your registrar's support immediately and give them the domain, the time you noticed and what changed. Secure your email and registrar accounts with new passwords and 2FA, sign out all sessions, and keep evidence such as screenshots and RDAP records. If the domain was transferred, the new registrar must be involved too.