Picture this: two years ago your marketing team set up promo.example.com on a landing-page service. The campaign ended, the account was closed, but nobody deleted the DNS record. Today, someone else can claim that same address on the service and publish whatever they want on promo.example.com, under your name.

This is called a subdomain takeover, and the forgotten record is a "dangling" DNS record.

How it works

Many hosted services work by having you point a subdomain at them with a CNAME record, for example promo.example.com → yourbrand.landingservice.com. When you cancel, the service releases yourbrand. Your CNAME still points there. If the service lets a new customer claim that name (or connect your custom domain to their account), they control what your subdomain shows.

The same pattern applies to cloud storage buckets, app hosting platforms, help desks, status pages and old cloud servers whose IP addresses have been reassigned.

Why it matters

  • Phishing that looks real: a login page on your own domain is far more convincing than a lookalike domain.
  • Cookie and session risks if your main site shares cookies across subdomains.
  • Reputation: malware or spam hosted on your subdomain can get your whole domain flagged.

How to clean up

  1. Export your DNS zone from your DNS provider and go through every CNAME and every A record that points outside your own servers.
  2. For each one, ask: do we still use this? Open the address in a browser. A "no such app", "bucket does not exist" or the provider's default error page is a red flag.
  3. Delete records for anything you no longer use, before cancelling the service where possible.
  4. Make it part of offboarding: whenever a tool or vendor is retired, its DNS records go too.

Our free DNS lookup shows what a name currently points to. A quarterly DNS review takes half an hour and closes one of the easiest ways into an organisation.

Want this checked automatically? Domain Health watches your SSL certificates, domain renewals, DNS, email security and blocklists, and emails you before something breaks. Start free (2 domains, no card).