Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.