Delete the CNAME that points at an unregistered domain
Why it matters
A subdomain's CNAME points at a domain nobody has registered, so anyone can register it and take over what visitors see on your subdomain. Delete the record now, since it already does nothing useful.
The fix
- Find the CNAME in the DNS zone, using the name from the finding.
- Delete it. The target does not exist, so the subdomain does not work now anyway. If you meant to keep it, point it at a name you control.
- If the target domain was one of yours that expired, renew or re-register it only if you still need it, and make sure nobody else got it first.
- Search the zone for other records that point at the same target or at similar names, and remove those too.
- Check that no cookies, links, emails or services rely on that subdomain, and confirm it now returns no record.
bash
# replace sub with the subdomain named in the finding dig CNAME sub.example.com +short dig sub.example.com
The examples use example.com. Replace it with your own domain.
Related
Scan your domain to see whether this applies to you.