What a subdomain finder actually does (and what it can’t)
A subdomain finder does not “scan the internet” for your domain, and it cannot see inside your DNS zone unless your nameservers let it. Every subdomain a tool like this returns comes from one of a handful of public evidence sources. Knowing which source produced a result tells you how much to trust it — and knowing the limits tells you what the tool will never find:
- It can find subdomains that have been seen publicly: in certificate logs, in passive DNS collections, in search indexes, or in your own zone’s records.
- It cannot find a subdomain that has never been published anywhere, never had a certificate issued for it, and is not guessable — for example an internal name that only exists in a private zone or a hosts file. If a name has never left your network, no external tool knows it exists.
- Results are a starting inventory, not ground truth. A name in the results may have been deleted years ago (the certificate that revealed it is still in the logs). A name missing from the results may still be live. Verify every result by resolving it.
With that understood, here is how each discovery method works.
The five ways subdomains get discovered
1. Certificate Transparency (CT) logs — the biggest source
Every publicly trusted certificate authority must log each certificate it issues to public, append-only Certificate Transparency logs (this has been required by major browsers since 2018). A certificate for mail.example.com — or a wildcard-plus-SAN certificate listing ten names — is therefore a public, permanent record that the name existed and someone controlled it at issue time.
This is why CT is the highest-yield enumeration source: the moment a subdomain gets HTTPS, it announces itself to the world, forever, even after the certificate expires.
You can query the same data yourself. crt.sh is a public CT search interface run by Sectigo:
# All certificates ever issued for example.com and its subdomains (JSON)
curl -s "https://crt.sh/?q=%25.example.com&output=json" | jq -r '.[].name_value' | sort -u
The %25 is a URL-encoded % — the wildcard. The name_value field often contains several names separated by newlines, including wildcards like *.example.com, so expect to clean the output. On the command line, subfinder and amass both use CT logs (among other sources):
subfinder -d example.com -silent
amass enum -passive -d example.com
Limit that matters: CT only contains names that had certificates. A plaintext-HTTP staging box or an internal name with no TLS will not be there.
2. DNS brute force — guessing names from a wordlist
Brute forcing tries thousands of candidate labels — dev, staging, api, vpn, mail, test, old, backup, portal, and so on — and keeps the ones that resolve. Tools like gobuster dns, massdns with a wordlist, or amass enum -active do this at speed.
gobuster dns -d example.com -w subdomains-wordlist.txt -t 50
Two things make brute force less reliable than it looks:
- Wildcard DNS. If the zone has a wildcard record (
*.example.com→ one IP), every guess “resolves,” includingthisdoesnotexist.example.com. A competent tool detects this first by resolving a random nonsense name; if it gets an answer, brute-force hits that match the wildcard address are marked as wildcard noise, not real subdomains. If your results list contains thousands of implausible names all pointing at one IP, you are looking at a wildcard, not a discovery. - It only finds guessable names.
dev2might be in the wordlist;dev-ankit-laptop-testwill not be.
3. Zone transfer (AXFR) — rare, and a finding in itself
A zone transfer asks a nameserver for the entire zone file. It is how secondary nameservers replicate from the primary, and correctly configured servers only allow it from their own secondaries. Try it against your own domain:
# First find the nameservers
dig NS example.com +short
# Then ask one of them for the whole zone
dig AXFR example.com @ns1.example.com
The normal, correct answer is Transfer failed or a refusal. If you get the full zone back, that is not a convenience — it is a misconfiguration to fix. Anyone can then enumerate every record you publish, including internal-looking names you assumed were obscure. Check every authoritative nameserver, not just one; it only takes one permissive server. If a transfer succeeds on a domain you administer, restrict AXFR to your secondary nameservers’ addresses (and consider TSIG authentication) before doing anything else on this page.
4. Search engines and public indexes
Search engines index subdomains that have crawlable web content. Queries like site:*.example.com (syntax varies by engine) surface indexed hosts, and security indexes built from internet-wide scans (certificate and banner data) hold more. This source is good for finding web-facing hosts and useless for anything that never served a public page — no mail exchangers without web UIs, no VPN endpoints, no database hosts.
5. Your own DNS records — the names hiding in plain sight
Several ordinary records name other hosts, and walking them is free and exact:
- MX records name mail hosts:
dig MX example.com +short - SRV records name service hosts (
_autodiscover._tcp,_sip._tcp, and similar) - NS records name nameserver hosts, sometimes on the domain itself
- TXT records frequently leak service subdomains — verification records,
include:mechanisms in SPF that reference other domains, and vendor onboarding records (_dmarc, DKIM selectors underselector._domainkey) - CNAME chains: a CNAME on the apex-adjacent names points at the real host; resolving the chain reveals the target, which may itself be in scope
For your own domain, this is also the ground truth check: your DNS control panel shows what you publish today, while CT and passive sources show what ever existed. The difference between those two lists is where the problems in the next section live.
How to read the results
For each name the tool returns, four facts matter:
| Field | What it tells you | What to look for |
|---|---|---|
| Record type / target | A/AAAA address, or a CNAME pointing elsewhere | CNAMEs to third-party services you may no longer use — see takeover risk below |
| Resolves now? | Whether the name still has live DNS | Names in CT logs that no longer resolve are history, not exposure |
| HTTP/HTTPS response | Whether something actually serves traffic, and on which name | Default server pages, setup wizards, and login panels on forgotten hosts |
| Certificate | What the TLS certificate covers and when it expires | Expired certs and certs issued for names you don’t recognise (someone is still provisioning them) |
Three reading mistakes to avoid:
- Treating “found” as “vulnerable.” A public subdomain is normal.
mail.,www.,api.are supposed to exist. The risk is never existence — it is forgotten, unmaintained, or mis-pointed existence. - Treating “not found” as “doesn’t exist.” The tool is blind to unpublished names (see the limits at the top). Your zone export is the only complete list for a domain you own.
- Ignoring the CNAME targets. The subdomain itself may serve nothing, but where it points is the finding. Always read the full chain:
dig dev.example.comand follow every CNAME to its end.
# Follow a name all the way to its address, showing the chain
dig dev.example.com +noall +answer
host dev.example.com
Worked example: github.com, run on 27 November 2026
To show what the reading step actually looks like with real output, we ran this finder on github.com on 27 November 2026. It returned 119 subdomains. We then resolution-checked a sample of twelve names — Step 3 of the audit workflow below, done for real:
| Subdomain | What DNS says today | Reading |
|---|---|---|
| docs.github.com | A → 185.199.108–111.154 (GitHub Pages range) | Live, public documentation |
| gist.github.com | CNAME → github.com | Live alias of the apex |
| api.github.com | A → 140.82.114.6 | Live |
| ducky.github.com | CNAME → github.github.io | Live, hosted on Pages |
| bug-bash.github.com | CNAME → github.github.io | Live, hosted on Pages |
| atom-installer.github.com | A → 185.199.108–111.133 | Still resolves, in the Pages range |
| central.github.com | CNAME → glb-db52c2cf8be544.github.com | Load-balancer name — infrastructure, expected |
| examregistration-uat.github.com | CNAME → redirect.github.com | A UAT name still published and resolving — exactly the row a real audit marks “keep, fix, or remove?” |
| gsnlink.github.com | CNAME → d1hjitp7nw6uf1.cloudfront.net | Points at a third-party CDN target — the target whose ownership you verify (Step 4) |
| dodgeball.github.com | No A answer | CT history — the name is gone from DNS |
| graphql-stage.github.com | No A answer | A staging name that now exists only in the logs |
| camo.github.com | No A answer | Same — historical, not exposure |
Three lessons from one real run:
- A quarter of the sample is history. Three of twelve names no longer resolve at all. They are in the results because a certificate was issued for them once — not because anything is exposed today. This is why “found” never means “live.”
- The interesting rows are boring-looking. Nothing in the resolving nine screams risk. The two rows an auditor circles are a UAT name still answering in production DNS and a CNAME into a third-party CDN — not because either is necessarily dangling (we are not claiming they are), but because those are the rows where ownership has to be confirmed, not assumed.
- Counts are not findings. “119 subdomains” sounds like a big attack surface. After ten minutes of triage it resolves into: mostly Pages sites and API hosts doing their jobs, a handful of names to verify, and a tail of history. The number is the start of the audit, never the result of it.
Forgotten and dev subdomains: the actual risks
Dangling CNAMEs and subdomain takeover
This is the one risk that is routinely understated, so here is the mechanism precisely. Many SaaS and hosting platforms let a customer claim a hostname — yourproject.github.io, an S3 website endpoint, a Heroku/Azure/Ghost app hostname, and so on. You point promo.example.com at that hostname with a CNAME. Later, the project is deleted or the service account is closed, but the CNAME is left in your zone.
Now the hostname on the platform is unclaimed. Anyone who registers it on that platform can serve their own content at promo.example.com — your subdomain, your domain’s reputation, a valid-looking URL for phishing, and in some configurations a way to obtain a certificate for the name or to defeat cookie scoping set for the parent domain.
How to check your own domain:
- List every CNAME in your zone (from your DNS provider’s export, or from the results above).
- For each target, confirm the resource on the other end still exists and is still yours. Resolve it and fetch it:
dig oldpromo.example.com +noall +answer
curl -sI https://oldpromo.example.com
- The danger signs: the target returns the platform’s “not found / no such app / no such bucket” page, or doesn’t resolve at all, while your CNAME still points at it. Delete the CNAME (or reclaim the resource immediately). A CNAME to a dead target has no legitimate use.
You can also run the dedicated subdomain takeover check, which tests your names against known takeover fingerprints automatically.
Stale dev and staging hosts
dev., staging., test., uat. hosts are risky for operational reasons, not because they exist:
- They often run the same codebase as production with weaker authentication — basic-auth with a shared password, an allowlist that was later removed, or debug settings left on.
- They may connect to copies of production data taken “temporarily” for debugging.
- They are frequently excluded from patching and monitoring because “it’s only staging.”
- Search engines sometimes index them, publishing login pages and error output.
For each one you find, the question is binary: is it still needed, patched, and behind the same access controls as production? If nobody can answer who owns it, it should come down until someone claims it.
Expired certificates and dead services
A subdomain whose certificate expired months ago, or that still resolves to an IP the company no longer controls (a released cloud IP can be reassigned to another customer), is the same class of problem: your name pointing at infrastructure that is no longer yours. Released-IP reuse is the address-based cousin of the dangling CNAME — the fix is identical: if the service is gone, remove the DNS record.
Step-by-step: audit your own domain
This is the workflow this tool is built for. Budget about half an hour for a typical small-business domain.
Step 1 — Enumerate. Run the finder on your domain and export the list. Add the CT-only view for completeness:
curl -s "https://crt.sh/?q=%25.example.com&output=json" | jq -r '.[].name_value' | sort -u > ct-names.txt
Step 2 — Get your ground truth. Export your full zone from your DNS provider (every provider has a zone export or an API list). Names in the finder results but not in your zone export are historical — they were deleted from DNS but remain in CT logs. Names in your zone but not in the finder results are your unpublished names — check that each one is intentionally unpublished.
Step 3 — Resolve and probe every live name. For each name that still resolves, record the target and what serves on it:
dig NAME.example.com +noall +answer
curl -sI https://NAME.example.com | head -5
echo | openssl s_client -connect NAME.example.com:443 -servername NAME.example.com 2>/dev/null | openssl x509 -noout -dates -subject -issuer
Step 4 — Hunt the dangling pointers. Filter your zone for CNAMEs. For each, fetch the target directly. Any target that returns the platform’s unclaimed-resource page, or fails to resolve, is a takeover candidate — remove the record the same day (Step 5) rather than adding it to a backlog.
Step 5 — Decide per name: keep, fix, or remove.
- Keep — owned, patched, monitored, certificate valid.
- Fix — needed but weak: staging without access control, expired cert on a live service, AXFR open on a nameserver.
- Remove — nobody owns it or the service is gone. Removing means deleting the DNS record; for a dangling CNAME this alone closes the takeover hole.
Step 6 — Test your nameservers. Run the AXFR check from the zone-transfer section against every authoritative nameserver. All of them must refuse.
Step 7 — Make it continuous. A one-time audit decays the day someone provisions a test box. Watch CT logs for your domain (crt.sh offers monitoring feeds; several free services email new-certificate alerts) — a certificate issued for a name you don’t recognise is an early-warning that a new subdomain exists, authorised or not. Re-run this finder quarterly and diff against the last run; new names should each have an owner you can name.
FAQ
Is it legal to run a subdomain finder on a domain I don’t own? The methods on this page read public data — CT logs, public DNS answers, search indexes. Querying public DNS and public logs is how the internet is designed to be read. Actively probing or attempting to log in to other people’s servers is a different matter and can breach computer-misuse law and the host’s terms. Audit domains you own or are authorised to test.
Why does the tool show subdomains I deleted years ago? Because CT logs are append-only. The certificate that revealed the name stays in the log permanently, even though the DNS record is gone. Check “resolves now?” — if it doesn’t resolve, it’s history, not exposure.
Why is a subdomain I know exists missing? It has probably never had a public certificate, never been indexed, and isn’t in the brute-force wordlist — the blind spot described at the top of this guide. For domains you own, your zone export is the complete list; no external finder can beat it.
What’s the difference between a subdomain finder and a port scanner? A finder works from public records and DNS answers — it never touches the target servers. A port scanner connects to the hosts themselves. They answer different questions, and scanning infrastructure you don’t own or aren’t authorised to test is where legal problems start.
This finder is one of the network tools on this site — the same suite covers DNS records, email authentication, SSL certificates, and blacklist status, all free without sign-up.
