Vulnerabilities
Scan subdomains for takeover with signature matching
dnsReaper is an open-source subdomain takeover scanner that tests DNS records against more than 50 takeover signatures, reading domains from a file, a single domain, or records fetched from DNS providers such as AWS Route53, Azure and Cloudflare.
installdocker pull punksecurity/dnsreapergit clone https://github.com/punk-security/dnsReaper && cd dnsReaper && pip install -r requirements.txtdocker pull quay.io/trickest/dnsreaper:dd7fa2a-patch-2
commit dd7fa2a on Trickest · Python · AGPL-3.0 license
Free plan: 1 user, 3 execution slots, no card.
overview
What dnsreaper does
dnsReaper tests candidates for takeover: DNS that still points at a deprovisioned cloud service someone else could claim. It matches each name against a large provider signature set and labels confidence (CONFIRMED, POTENTIAL, UNLIKELY).
Pull domains from --filename, a single --domain (with single), BIND, zone transfer, or live zones via aws, azure, cloudflare, or digitalocean credentials. That covers external bounty lists and internal blue-team DNS.
Run after subdomain discovery. Restrict with --signature or --exclude-signature when noise is high. --pipeline exits non-zero on detection so a Trickest step can fail closed; --out-format picks csv or json.
source github.com/punk-security/dnsReaper · commit dd7fa2a on Trickest
image quay.io/trickest/dnsreaper:dd7fa2a-patch-2
use cases
dnsreaper use cases
Hunt subdomain takeovers across a list
Scan discovered subdomains from a file against the full signature set to find dangling records pointing at deprovisioned services.
Sweep your own cloud DNS
Fetch zones straight from Route53, Azure, Cloudflare, or DigitalOcean with credentials so the blue team audits live DNS, not a stale export.
Gate a pipeline on detection
Use the pipeline flag to exit non-zero when a takeover is found, failing a CI or workflow step on a real exposure.
Tune the signal-to-noise
Restrict to a single signature, exclude noisy ones, or toggle unlikely and probable checks to trade coverage against false positives.
reference
dnsreaper inputs and flags
| Name | Type | Flag | Description |
|---|---|---|---|
| single-domain | STRING | --domain | Scan a single domain (with the single input set). |
| file-input | FILE | --filename | Scan a list of domains read from a file, one per line. |
| aws | BOOLEAN | aws | Fetch zones to scan straight from AWS Route53. |
| signature | STRING | --signature | Only scan with this signature. |
| exclude-signature | STRING | --exclude-signature | Skip a noisy signature. |
| out-format | STRING | --out-format | Write findings as csv or json. |
| pipeline | BOOLEAN | --pipeline | Exit non-zero on detection, to gate CI. |
| resolver | STRING | --resolver | Use a custom DNS resolver, or several comma-separated. |
Showing key inputs. dnsreaper exposes 33 inputs in total.
Full flag reference (33 inputs)
| Name | Type | Flag | Description |
|---|---|---|---|
| aws | BOOLEAN | aws | Scan multiple domains fetched from AWS Route53 |
| bind | BOOLEAN | bind | Read domains from a DNS BIND zone file, or a path to multiple |
| file | BOOLEAN | file | Read domains from a file (or folder of files), one per line |
| azure | BOOLEAN | azure | Scan multiple domains fetched from Azure DNS services |
| single | BOOLEAN | single | Scan a single domain given on the command line |
| verbose | BOOLEAN | -v | Verbose output |
| nocolour | BOOLEAN | --nocolour | Turn off coloured text |
| pipeline | BOOLEAN | --pipeline | Exit non-zero on detection (used to fail a pipeline) |
| resolver | STRING | --resolver | Custom DNS resolver, or several comma-separated |
| signature | STRING | --signature | Only scan with this signature |
| cloudflare | BOOLEAN | cloudflare | Scan multiple domains fetched from Cloudflare |
| do-api-key | STRING | --do-api-key | DigitalOcean API key (requires the digitalocean input) |
| do-domains | STRING | --do-domains | Limit the scan to these domains (comma-separated) |
| file-input | FILE | --filename | List of domains to scan (requires the file input) |
| out-format | STRING | --out-format | Output format (csv or json) |
| parallelism | STRING | --parallelism | Number of domains to test in parallel; too high risks odd DNS results (default 30) |
| az-client-id | STRING | --az-client-id | Azure client ID (requires the azure input) |
| az-tenant-id | STRING | --az-tenant-id | Azure tenant ID (requires the azure input) |
| digitalocean | BOOLEAN | digitalocean | Scan multiple domains fetched from DigitalOcean |
| zonetransfer | BOOLEAN | zonetransfer | Scan multiple domains fetched via DNS zone transfer |
| extra-verbose | BOOLEAN | -vv | Extra verbose output |
| single-domain | STRING | --domain | Scan this one domain (requires the single input) |
| bind-zone-file | FILE | --bind-zone-file | BIND zone file (requires the bind input) |
| enable-unlikely | BOOLEAN | --enable-unlikely | Check more conditions, at a higher false-positive rate |
| az-client-secret | STRING | --az-client-secret | Azure client secret (requires the azure input) |
| cloudflare-token | STRING | --cloudflare-token | Cloudflare token (requires the cloudflare input) |
| disable-probable | BOOLEAN | --disable-probable | Do not check for probable conditions |
| aws-access-key-id | STRING | --aws-access-key-id | AWS access key ID (requires the aws input) |
| exclude-signature | STRING | --exclude-signature | Do not scan with this signature |
| az-subscription-id | STRING | --az-subscription-id | Azure subscription ID (requires the azure input) |
| zonetransfer-domain | STRING | --zonetransfer-domain | Root domain to scan for (requires the zonetransfer input) |
| aws-access-key-secret | STRING | --aws-access-key-secret | AWS access key secret (requires the aws input) |
| zonetransfer-nameserver | STRING | --zonetransfer-nameserver | DNS server FQDN (such as ns1.example.com) or IP address (requires the zonetransfer input) |
example
dnsreaper command examples
# run on 2026-12-02 against the 54 assetfinder names for trickest.com, Trickest's own domain,
# in quay.io/trickest/dnsreaper:dd7fa2a-patch-2
python main.py file --filename subs.txt --resolver 1.1.1.1 --out stdout --out-format csv # 3.4 s
# more patterns (not run): JSON out, fail a CI step on any finding
dnsreaper file --filename subdomains.txt --out-format json --pipelineIngested 54 domains from file 'subs.txt'
Testing with 59 signatures
We found 0 takeovers ☠️guidance
dnsreaper vs alternatives
Use after discovery when you need broad takeover signature coverage or cloud-zone ingestion. Prefer subjack or tko-subs for a lighter CNAME-focused check. Use subfinder or amass to build the subdomain list first.
| Tool | Pick it when |
|---|---|
| subjack | Fast CNAME-based takeover check. dnsReaper adds a larger signature set and cloud-zone pulls. |
| tko-subs | Classic provider-list takeover scan. dnsReaper covers more services and input sources. |
| subzy | Lightweight takeover verifier. dnsReaper adds cloud-account intake and --pipeline gating. |
faq
dnsreaper FAQ
related
More Vulnerabilities tools
commix
Automates OS command injection detection and exploitation.
dalfox
Parameter mining and XSS testing with headless verification.
log4j-scan
Remote scanner for Log4Shell RCE, CVE-2021-44228.
react2shell-scanner
Confirm the RSC and Next.js RCE CVEs on a URL or host list.
sqlmap
Detect and exploit SQL injection on authorized web targets.
find-gh-poc
Locate public CVE proof-of-concept repositories on GitHub.
Run dnsreaper yourself
subfinder enumerates a domain subdomains, then dnsReaper scans them against takeover signatures and writes confirmed takeovers as output.
Facts on this page come from the live Trickest tool library.