[PR #1807] [MERGED] Add --reverse, --file and --interval to util/resolve #2623

Closed
opened 2026-03-16 10:48:02 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hickory-dns/hickory-dns/pull/1807
Author: @cunha
Created: 10/19/2022
Status: Merged
Merged: 10/25/2022
Merged by: @bluejekyll

Base: mainHead: resolve-list


📝 Commits (2)

  • 67455b3 add support for --reverse in trust-dns-util
  • 6a1a8eb Add support for resolving a list of IPs

📊 Changes

3 files changed (+179 additions, -59 deletions)

View changed files

📝 crates/resolver/src/lookup.rs (+6 -0)
📝 util/Cargo.toml (+1 -2)
📝 util/src/resolve.rs (+172 -57)

📄 Description

This PR adds:

  • The ability to run reverse lookups. The previous code allowed for reverse lookups but required the user to pass in-addr.arpa hostnames. Passing --reverse makes the conversion automatically.

  • The ability to resolve names given in a file (one name per line).

Happy to make adjustments or integrate any feedback to improve it further.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hickory-dns/hickory-dns/pull/1807 **Author:** [@cunha](https://github.com/cunha) **Created:** 10/19/2022 **Status:** ✅ Merged **Merged:** 10/25/2022 **Merged by:** [@bluejekyll](https://github.com/bluejekyll) **Base:** `main` ← **Head:** `resolve-list` --- ### 📝 Commits (2) - [`67455b3`](https://github.com/hickory-dns/hickory-dns/commit/67455b3e748bafbb78705165ac490f3526273a15) add support for --reverse in trust-dns-util - [`6a1a8eb`](https://github.com/hickory-dns/hickory-dns/commit/6a1a8eb40428f2aa0ac514f538c2c27843eb2970) Add support for resolving a list of IPs ### 📊 Changes **3 files changed** (+179 additions, -59 deletions) <details> <summary>View changed files</summary> 📝 `crates/resolver/src/lookup.rs` (+6 -0) 📝 `util/Cargo.toml` (+1 -2) 📝 `util/src/resolve.rs` (+172 -57) </details> ### 📄 Description This PR adds: * The ability to run reverse lookups. The previous code allowed for reverse lookups but required the user to pass `in-addr.arpa` hostnames. Passing `--reverse` makes the conversion automatically. * The ability to resolve names given in a file (one name per line). Happy to make adjustments or integrate any feedback to improve it further. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 10:48:02 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#2623
No description provided.