Free Subdomain Takeover Checker
Scans your DNS for dangling CNAMEs and known provider takeover fingerprints (Heroku, S3, GitHub Pages, and more) so you can reclaim them before attackers do.
- Orphaned CNAMEs
- Provider fingerprints
- Takeover indicators

What you get for free
18 core security checks via this tool, passive scans, step-by-step remediation, security score on every result.
What Essential adds at $39/mo
+17 advanced checks, continuous monitoring, daily security score history, email alerts, GitHub SAST, board-ready PDFs, SOC 2 / ISO 27001 / PCI reports.
How to prevent takeovers
- Remove stale CNAMEs/ALIAS records
- Use provider verification and auto-cleanup
- Continuously monitor DNS changes
What is subdomain takeover?
When a DNS record points to a deprovisioned resource (like an unused SaaS hostname), attackers can claim it and serve content under your subdomain.
Implementation examples
Once you've identified a dangling CNAME, the fix is to remove or repoint the record at your DNS provider. Here are the three surfaces developers reach for most often.
BIND zone file
; Remove the dangling CNAME pointing to a deprovisioned SaaS host
; Before:
; old-app IN CNAME myapp.herokudns.com.
;
; After: delete the record entirely, then bump the SOA serial
@ IN SOA ns1.example.com. hostmaster.example.com. (
2026060101 ; serial (yyyymmddnn)
3600 600 1209600 300 )Cloudflare API
# Delete a dangling CNAME via the Cloudflare API
curl -X DELETE \
"https://api.cloudflare.com/client/v4/zones/$ZONE_ID/dns_records/$RECORD_ID" \
-H "Authorization: Bearer $CF_API_TOKEN" \
-H "Content-Type: application/json"AWS Route 53
# change-batch.json
{
"Changes": [{
"Action": "DELETE",
"ResourceRecordSet": {
"Name": "old-app.example.com.",
"Type": "CNAME",
"TTL": 300,
"ResourceRecords": [{ "Value": "myapp.herokudns.com." }]
}
}]
}
aws route53 change-resource-record-sets \
--hosted-zone-id Z123456ABCDEFG \
--change-batch file://change-batch.jsonTool-specific questions
Which providers are commonly abused?
Can wildcard DNS cause issues?
How do I detect stale CNAMEs?
Built for the engineers who already have enough to fix.
Real-time results
Comprehensive checks
Step-by-step fixes
More free checks, for the rest of your surface.
Complete Security Scan
Pre-Pentest Security Scan
Security Compliance Checker
WAF Checker
Security Headers Test
TLS/SSL Security Checker
Go deeper on the same topic.
Frequently asked.
What is Barrion and how does it enhance website security?
How safe is Barrion to use for security testing?
What types of security issues does Barrion identify?
What specific security checks does Barrion perform?
What is Barrion's smart crawling?
How often does Barrion perform security scans?
Is Barrion suitable for security testing of all business sizes?
How does Barrion handle data security and privacy during security testing?
What if I'm not satisfied with Barrion's security testing service?
How does Barrion help with SOC 2, ISO 27001, NIS2, and other compliance frameworks?
Anything else? Email contact@barrion.io.
Run a full report on your site.
Free first scan covers every check, no signup needed. Sign up to save the report and turn on continuous monitoring.