Skip to content

Subdomain takeover hints: flag CNAMEs pointing at unclaimed or NXDOMAIN targets #71

Closed

Description

@TMHSDigital

Why it matters

Dangling CNAMEs are the highest-value finding in subdomain recon, and the reason many bug-bounty hunters enumerate at all. subenum already resolves CNAMEs (-type CNAME), so flagging likely takeovers is a small step that gives users a reason to choose it over a plain resolver.

Proposal

  • When a CNAME chain ends in NXDOMAIN, or points at a known takeover-prone provider (e.g. the can-i-take-over-xyz fingerprint list: S3, GitHub Pages, Heroku, Azure, Fastly and so on), mark the result takeover_candidate: <provider|dangling>.
  • Keep it DNS-only, with no HTTP probing by default. HTTP fingerprint confirmation could be a later -takeover-check.
  • Show the marker in text mode with -show-records, and as a field in JSON, JSONL and CSV.

Done when

A test zone with a dangling CNAME and a provider CNAME produces the marker, with docs that point out the result is a hint that needs manual verification.

Activity

  1. added
    priority: medium
    area: dns
    feature
    on Oct 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: dnsfeaturepriority: medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions