9 releases
0.3.1 | Jan 4, 2023 |
---|---|
0.3.0 | Jan 3, 2023 |
0.2.2 | Dec 28, 2022 |
0.1.7 | Nov 19, 2021 |
0.1.6 | Apr 20, 2021 |
#1167 in Command line utilities
27 downloads per month
105KB
281 lines
digs is a DNS command-line client that able to query many DNS servers at once.
Why?
We work with DNS records a lot. Having a tools that inspect multiple records across different machines at once is a lifesaver.
Features
- Prevent invalid input before querying. Such invalid records type or configuration.
- No panics, good error handling.
- more faster compared to previous
digs.py
. - Colourful output.
- Cross-platform.
- Single binary.
Usage
Prepare a configuration file that should look like this:
[[servers]]
ip = "8.8.8.8"
name = "Google"
[[servers]]
ip = "9.9.9.9"
name = "Quad9"
The server can be as many as you want.
Example commands:
digs example.net A Query a domain using the configuration in current directory
digs example.net A -f custom.toml ...using custom configuration
Run digs --help
to see more available options.
Installation
From binaries
The release page includes pre-compiled binaries for GNU/Linux, macOS and Windows.
From source
Using cargo-binstall
cargo binstall digs
Using Rust's package manager cargo:
cargo install digs
Development
git clone https://github.com/BiznetGIO/digs
cd digs
# Run unit tests and integration tests
cargo test
# Install
cargo install --path .
Licence
digs source code is licensed under the GPLv3.
Dependencies
~14–22MB
~426K SLoC