You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6a7447d
Browse filesBrowse the repository at this point in the historyBrowse files
Go reports a name that exists without A/AAAA records (NODATA) as
not-found, the same as NXDOMAIN, so a CNAME target or NS host with only
MX or TXT records was marked dangling or dangling-ns although it cannot
be registered by anyone else. When the address lookup comes back empty,
the takeover check now sends one A query and reads its RCODE: NOERROR
means the target exists, only NXDOMAIN marks it, and a failed probe is
inconclusive. The raw query path from lookupCNAME now takes a qtype.
Fixes#362
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
68
68
- Less memory on large wordlists and busy scans: `-sources`, `-ct`, `-axfr` and `-permute` check their names against the wordlist without building a set as large as it (about 200 MB per feature and target on a 5M-line list), a `-simulate-zone` lab scan no longer keeps a count per queried name (about 170 MB on a 1M-line list), and a `CNAME` lookup reads a UDP answer into a buffer sized for the 1232-byte EDNS payload it advertises instead of 64 KB. Results are unchanged (#321).
69
69
70
70
### Fixed
71
+
- A CNAME target or name server that exists but has no A or AAAA record (NODATA, such as a name with only MX or TXT records) is no longer marked `dangling` or `dangling-ns`: Go reports it as not-found like a name that does not exist, so a target whose address lookup comes back empty now gets one more A query, and only an NXDOMAIN answer marks it. A probe that times out or fails marks nothing (#362).
71
72
- A wordlist entry that already ends in the target, such as a full name pasted from another tool, is scanned as the prefix in front of it: `www.example.com` under `example.com` is `www`, not `www.example.com.example.com`, and one that repeats an entry already in the list counts as a duplicate. The scan notes how many entries it shortened (#351).
72
73
- With `-retry-inconclusive`, names whose lookup failed before a run stopped (interrupt, `-max-duration` or the reliability guard), and that its retry pass never got to, are saved in the resume state and retried by the resumed run; one that then answers is reported and leaves the `-inconclusive` list (#315).
73
74
- A run stopped by `-max-duration`, the reliability guard or an interrupt, then resumed, reports each name once: `excluded` is no longer counted by both runs, and `processed`, `total` and the outcome counts no longer include the lookups the resumed run repeats (a chunk reported after the stop, and under `-recursive` every lookup below the first level), so `processed` cannot exceed `total`. Names the resumed run looks up again also leave the saved inconclusive list (#341).
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -600,6 +600,8 @@ When a result has a CNAME record, subenum resolves the CNAME target with the tru
600
600
601
601
A recursive resolver asked about a subzone whose every name server is gone usually answers SERVFAIL instead of the delegation, so such a name is reported as inconclusive (see `-inconclusive`) rather than marked; scanning against the parent zone's authoritative server finds it.
602
602
603
+
A target or name server that exists but has no A or AAAA record (NODATA, such as a name with only MX or TXT records) is not dangling: when the address lookup comes back empty, subenum sends one more A query and marks the name only on an NXDOMAIN answer. A probe that fails (timeout, SERVFAIL) marks nothing.
604
+
603
605
A CNAME target or name server that `-exclude` puts out of scope is never looked up: it can still get `provider:<name>`, which needs no query, but never `dangling` or `dangling-ns`.
604
606
605
607
The marker is a `takeover_candidate` field in JSON and JSONL, a `takeover_candidate` column in CSV, `TAKEOVER?=<marker>` in text with `-show-records`, and a count in the breakdown and the run-quality report. A dangling CNAME makes A/AAAA lookups fail, so scan with CNAME records included to find them: `-type A,AAAA,CNAME`.
0 commit comments