What's Changed - Highlights
Couple highlights in this release compared to v2.0.5.
- Added
--per-name-ns-rate-limitand--per-ip-ns-rate-limitto enable rate limiting queries sent to nameservers per-second for nameservers on a per name (ace.ns.cloudflare.com) or per NS IP (108.162.195.65) basis - Added a
--all-nameservers-all-ipsmode which acts like --all-nameservers, but in addition to querying every NS at each level, will query all listed IPs for that nameserver. So if emma.ns.cloudflare.com has 3x A and 3x AAAA records, we'll query all of them if this is true. If false, we'll query only 1 per NS. - Fixes a bug where in TCP mode with reusing sockets, a timed out lookup could poison the connection causing all subsequent lookups to fail (#605)
- Fixes a panic where if a name has nameservers that resolve to a local IP (can happen with a parked domain,
snowplowingandremoval.comcurrently has this where its nameservers resolve to127.0.0.1), we don't panic.
Along with several other small improvements and updates to dependencies. As always, please don't hesitate to open an issue if you notice any problems!
What's Changed - Full
- export type TransportMode by @stklcode in #555
- remove unused "+build" tags by @stklcode in #556
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in #554
- Bump github.com/stretchr/testify from 1.10.0 to 1.11.0 by @dependabot[bot] in #557
- update golang to v1.24 by @stklcode in #558
- Fix #548 by @zakird in #559
- fix some typos and update go report link by @stklcode in #560
- Bump github.com/stretchr/testify from 1.11.0 to 1.11.1 by @dependabot[bot] in #561
- Bump actions/setup-python from 5 to 6 by @dependabot[bot] in #563
- Bump github.com/zmap/dns from 1.1.67 to 1.1.68 by @dependabot[bot] in #562
- Bump actions/setup-go from 5 to 6 by @dependabot[bot] in #564
- Replace interface{} with any by @Seanstoppable in #567
- Avoid appending to string in loop, fixes lint error by @phillip-stephens in #570
- Bump golangci/golangci-lint-action from 8.0.0 to 9.0.0 by @dependabot[bot] in #572
- Add functionality to parse zone files by @qurbat in #569
- Add input triggers to allow running names through a subset of the modules with the Multiple module by @phillip-stephens in #573
- Bump actions/checkout from 5 to 6 by @dependabot[bot] in #574
- Bump golangci/golangci-lint-action from 9.0.0 to 9.1.0 by @dependabot[bot] in #575
- Bump github.com/hashicorp/go-version from 1.7.0 to 1.8.0 by @dependabot[bot] in #576
- Bump github.com/zmap/dns from 1.1.68 to 1.1.69 by @dependabot[bot] in #580
- Fix broken integration test by @phillip-stephens in #581
- Bump golangci/golangci-lint-action from 9.1.0 to 9.2.0 by @dependabot[bot] in #577
- Bump peter-evans/create-pull-request from 7 to 8 by @dependabot[bot] in #579
- Bump github.com/zmap/zgrab2 from 0.2.0 to 1.0.0 by @dependabot[bot] in #578
- Lint - Prealloc Arrays by @phillip-stephens in #583
- Bump github.com/zmap/dns from 1.1.69 to 1.1.70 by @dependabot[bot] in #582
- lint py files by @phillip-stephens in #592
- Bump github.com/sirupsen/logrus from 1.9.3 to 1.9.4 by @dependabot[bot] in #586
- Fix failing integration tests and bump Go version to 1.25 by @phillip-stephens in #596
- Bump github.com/hashicorp/go-version from 1.8.0 to 1.9.0 by @dependabot[bot] in #595
- Fix ---all-name-servers typo in CLI --help by @pspacek in #599
- go get -u ./... for examples/* and add examples to dependabot scanning by @phillip-stephens in #600
- Add per-IP and per-name Rate Limits by @phillip-stephens in #601
- Bump golangci/golangci-lint-action from 9.2.0 to 9.2.1 by @dependabot[bot] in #603
- Allow resolving both IPv4 and IPv6 with --all-nameservers (--no-preference) by @phillip-stephens in #604
- Fix DNSSEC integration tests by @phillip-stephens in #606
- fix - fixes a regression where --local-addr was ignored when --name-servers provided by @phillip-stephens in #608
- Close TCP Conn on error by @phillip-stephens in #605
- Fixes panic if user provides IPs and we find a loopback IP during iteration by @phillip-stephens in #607
New Contributors
Thanks to all of our contributors that helped make this release possible!
- @Seanstoppable made their first contribution in #567
- @qurbat made their first contribution in #569
- @pspacek made their first contribution in #599
Full Changelog: v2.0.5...v2.1.0