Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/k3rs3d/kdnsq
Kersed DNS Query: A command-line DNS querying tool, written in Rust.
https://github.com/k3rs3d/kdnsq
Last synced: about 1 month ago
JSON representation
Kersed DNS Query: A command-line DNS querying tool, written in Rust.
- Host: GitHub
- URL: https://github.com/k3rs3d/kdnsq
- Owner: k3rs3d
- License: gpl-3.0
- Created: 2023-11-19T22:52:53.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-25T22:12:02.000Z (about 1 year ago)
- Last Synced: 2023-11-26T21:27:12.418Z (about 1 year ago)
- Language: Rust
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kDNSq - Kersed DNS Query
A simple command-line DNS querying tool built in Rust. It utilizes `hickory-resolver` and `tokio` to perform asynchronous DNS queries.
## Features
- Supported record types:
- A: IPv4 addresses
- AAAA: IPv6 addresses
- MX: Mail exchange records
- NS: Name server records
- SOA: "Start of authority" records
- SRV: Generalized service location records
- TLSA: TLS certificate association
- TXT: Multi-purpose records
- Asynchronous resolution using Tokio.
- Basic error handling.## Usage
The basic usage pattern is as follows:
`kdnsq `
Where:
- `` is one of A, AAAA, MX, NS, TXT.
- `` is the domain name to query.Example:
`kdnsq A www.example.com`
This command will query the A records for www.example.com.
If you omit the record type argument, it will default to "A".
To run the project directly from the source without building, use Cargo's run command:
`cargo run -- A www.example.com`
## Contributions
Contributions are welcome!
If you have a feature request, bug report, etc, please feel free to submit an issue or open a pull request.