This article provides steps to investigate and recover a domain deleted from a Cloudflare account.
Domain deletion commonly occurs for the following reasons:
- A user with access to the domain removed it.
- The nameservers no longer point to Cloudflare. Cloudflare continuously monitors domain registration.
- The domain was not authenticated (pending for 60 days).
Step 1 - Check Audit Logs in your Cloudflare account
Cloudflare Audit Logs contain information about domain deletion. Review using the Audit Logs for additional information about the Audit Logs feature.
- Log in to the Cloudflare dashboard.
- Click the appropriate Cloudflare account where the deleted domain existed.
- Click Audit Log in the second navigation bar from the top.
- For Domain, enter the domain name that was deleted.
- Click on a Delete Action and ensure that Resource says Zone.
- Observe the Date, User IP Address, and User that deleted the domain.
- If User IP Address is 127.0.0.1 or contains no data, the deletion was automatically performed by Cloudflare’s systems: Move to Step 2
Step 2 - Check whether domain registration lists Cloudflare nameservers
- If you are unable to find the nameserver details for your domain, reach out to your domain registrar or domain provider to provide the domain registration information.
- Ensure Cloudflare’s nameservers are the only two nameservers listed in the domain registration details.
- Ensure nameservers are spelled correctly in the domain registration.
2. Confirm that the nameservers exactly match the nameservers provided within the Cloudflare Nameservers section of the Cloudflare DNS app.
3. If you identify incorrect information, log in to your domain provider’s portal to make updates or contact your domain provider for assistance.
Step 3 - Check whether domain resolution uses Cloudflare nameservers
1. Use command-line or third-party tools to confirm if Cloudflare's nameservers are configured:
dig NS something.anotherdomain.com dig +trace NS something.anotherdomain.com dig NS something.anotherdomain.com @220.127.116.11
The +trace option outputs detailed information when the DNS response fails. This information can be useful when troubleshooting the issue with your DNS provider.
The @18.104.22.168 option returns results from Google's public DNS resolver. The results will confirm whether public resolvers receive a DNS response.
nslookup -type=ns something.anotherdomain.com nslookup -type=ns something.anotherdomain.com 22.214.171.124
Some online services, such as whatsmydns.net, check for DNS resolution worldwide.
- Ensure Cloudflare’s two nameservers are the only nameservers returned in the query results.
- Ensure there are no misspelled nameservers.
- Confirm the nameservers exactly match the nameservers provided within the Cloudflare Nameservers section of the Cloudflare DNS app.
2. If you identify incorrect information, log in to your domain provider’s portal to make updates or contact your domain provider for assistance.
3. If the nameserver and domain registration data are correct, reach out to your domain provider to confirm if there have been recent DNS propagation issues.
Recover a deleted domain
Recover a deleted domain via the + Add site link located on the right side of the top navigation bar in the Cloudflare dashboard. The domain must be added like a new domain.