Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the default qtype to AAAA. #4

Merged
merged 2 commits into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@ Breaking changes

New

* Added a new `lookup` command. ([#10])

Bug fixes

Other changes

[#10]: https://github.com/NLnetLabs/dnsi/pull/10


## 0.1.0

Expand Down
2 changes: 1 addition & 1 deletion doc/dnsi-query.1
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ If
.I query_type
is given, it provides the record type to be queried for. If it is missing,
the record type
.B A
.B AAAA
is used.

A specific name server and port can be selected through the
Expand Down
2 changes: 1 addition & 1 deletion src/commands/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pub struct Query {
qname: Name<Vec<u8>>,

/// The record type to look up
#[arg(value_name="QUERY_TYPE", default_value = "A")]
#[arg(value_name="QUERY_TYPE", default_value = "AAAA")]
qtype: Rtype,

/// The server to send the query to. System servers used if missing
Expand Down
Loading