Skip to content

1.7.0

Latest

Choose a tag to compare

@L1ghtn1ng L1ghtn1ng released this 03 Dec 23:18
· 2 commits to master since this release

[1.7.0] - 2026-12-03

Added

  • Accepted encrypted name servers in -n: tls://host[:port] (DNS over TLS), https://host/dns-query (DNS over HTTPS, doh extra) and quic://host[:port] (DNS over QUIC, doq extra), using dnspython's dns.nameserver classes.
  • Added --ddr to discover and switch to the system resolvers' Designated Resolvers (RFC 9462).
  • Added the nsec3 scan type: collects a zone's NSEC3 hashes (sending only names whose locally computed hash falls in an uncovered gap) and cracks them against the dictionary; uncracked hashes are reported with their salt and iterations.
  • Zone transfers fall back to IXFR from serial 0 when AXFR is refused, report every record type (CAA, TLSA, SSHFP, HTTPS, SVCB, DNAME, URI, ...) instead of dropping types without a dedicated parser, and record which method succeeded.
  • Reported each name server's NSID (RFC 5001) during standard enumeration and in the /bind_version API.
  • Reported Extended DNS Errors (RFC 8914) where servers give them: why a zone transfer was refused, DNSSEC failures, and filtering resolvers in the NXDOMAIN hijack check. Queries now use EDNS0 so servers can include them.
  • Added a dnsrecon(1) man page (man/dnsrecon.1), based on the Debian package's page. Its synopsis and options are generated from the CLI parser by tools/generate_manpage.py, it is installed to share/man/man1 with the package, and the Man page workflow regenerates it on release tags and CLI changes.

Changed

  • Bumped DNSRecon version to 1.7.0.
  • Python 3.14 is now the minimum supported version (was 3.12). The code was modernised with pyupgrade --py314-plus and ruff's py314 target (PEP 758 unparenthesized except, PEP 649 deferred annotations); CI tests on 3.14.
  • Zone transfers are received with dnspython's dns.xfr.Inbound, which validates the stream, drops out-of-zone glue and caps the transfer size with a TransactionLimiter (1,000,000 rdatasets).
  • Brute force, reverse lookup and TLD scans resolve through dnspython's asyncio resolver; --threads now sets the number of concurrent lookups (default 32).
  • The REST API runs scans in a worker thread instead of blocking its event loop.
  • The NSEC zone walk derives its probe names with dns.name.Name.successor() (RFC 4471).
  • With --tcp, sequential queries to the same server (zone walk, cache snooping) reuse one TCP connection.
  • Added doh and doq optional dependency groups.

Fixed

  • Hid the two CryptographyDeprecationWarning (DSA) messages dnspython prints at import when cryptography is installed (via the doq extra); dnsrecon does not use DSA.
  • Fixed zone transfers dropping in-zone MX, CNAME and SOA records and reporting in-zone SRV targets as no_ip: relativized names are now made absolute, and apex records are named after the zone instead of @.<zone>.
  • Allowed reverse lookups (-r) and cache snooping (-t snoop) to run without -d/-iL.
  • Tagged brute-force, TLD, reverse-lookup, cache-snoop and zone-walk records with the scanned domain so XML output keeps them and CSV/SQLite rows have a domain.
  • Stored cache-snooping names and targets as strings, fixing JSON/CSV output crashes and /cache_snoop API errors.
  • Fixed the NSEC zone walk stopping at names two or more labels below the zone, and fixed its TXT lookup for _spf., _domainkey. and _autodiscover. names, which never matched.
  • Fixed UnboundLocalError in DNSSEC checks for DNSKEY flags other than 256/257 (e.g. revoked keys); NXDOMAIN/timeouts there no longer exit the whole run.
  • Fixed the /wildcard_check API returning 500 for wildcard domains, /brute_domain never filtering wildcard hits and prompting on the server's stdin, and /general_enum prompting on the server's terminal for WHOIS ranges.
  • Preserved CNAME targets in CSV and SQLite reports when the record stores the target under address, as general_enum() does.
  • Preserved standalone SRV records in XML output and their domain in CSV, JSON and SQLite reports by tagging brute_srv() results with the scanned domain.
  • Preserved type on records rendered by make_csv(), so the JSON output written afterwards keeps the field for CAA and other uncommon types.
  • Preserved zone-transfer records in XML output by tagging returned rows with their zone.
  • Added missing time import so TLD brute force no longer raises NameError when estimating duration.
  • Included AAAA answers in search-engine result processing (se_result_process), matching the documented A/AAAA resolution behavior.
  • Improved crt.sh enumeration to parse SAN name_value fields, accept the apex domain, and de-star wildcard names instead of discarding them.
  • Fixed Yandex enumeration pagination so each request uses a distinct p= page parameter instead of repeating the same URL.
  • Fixed DnsHelper.get_a/get_aaaa so CNAME and address rows report the owner of the answering RRset instead of assuming the answer section lists the alias chain in order.