A domain transfer is requested with an authorization code (EPP code). The registrar transfer lock blocks a transfer request while it is set. ICANN documents the status as clientTransferProhibited. Without it, hijacking a domain is easier.
Check
With whois:
whois yourdomain.com | grep -i "status"
With RDAP (the structured replacement for whois, standardized in RFC 7480 and following):
curl -s https://rdap.org/domain/yourdomain.com | jq '.status'
You want to see client transfer prohibited (RDAP wording) or clientTransferProhibited (whois wording). If you only see ok, the domain can be transferred.
Statuses set by the registrar start with client. Those set by the registry start with server.
Fix
In your registrar's panel, look for "Registrar lock", "Transfer lock" or "Domain lock", and switch it on. It adds clientTransferProhibited. To transfer deliberately later, you remove it first and request the code.
Optional extras: clientUpdateProhibited and clientDeleteProhibited where offered, and a registry-level lock for high-value domains if your registrar sells one.
Also protect the account
- Strong unique password and two-factor authentication on the registrar account.
- Keep the registrant email on a domain you control and that is not the domain being protected.
- Do not keep the EPP code lying around in an email.
Recheck with the commands above after enabling it.
Check your own domain
If you would rather not run these commands by hand, there is a free check at https://attackscout.com/en?utm_source=devto&utm_medium=article
Top comments (0)