Releases: qwerty541/dns-bench
Releases · qwerty541/dns-bench
v0.7.1
Changed
- Updated base image of Docker container from
rust:1.81.0
torust:1.82.0
Documentation
- Fixed default requests count in features section of readme file.
- Added opt-in table of contents to the readme file and DockerHub overview.
- Refactored list of built-in servers into two columns to make it more compact inside the readme file and DockerHub overview.
- Added crates.io downloads badge into the readme file.
Dependencies
- Updated
serde
from 1.0.210 to 1.0.214
v0.7.0
Added
- Colorized the contents of the success rate and duration columns in the output table, depending on the values.
- Add SafeDNS to the built-in servers list.
- Add NextDNS to the built-in servers list.
Changed
- Significantly modified the progress bar appearance; instead of a single progress bar, it now shows the progress of each DNS server separately.
- Increased the frequency of progress bar updates.
- Updated base image of Docker container from
rust:1.78.0
torust:1.81.0
- Changed default number of requests to each DNS server from
10
to25
to make the benchmark more accurate.
Documentation
- Added
-it
arguments to Docker container usage command. Without this arguments, the progress bar will not be displayed and the stdout will be empty until the end of the benchmark. - Fixed broken links on the custom servers file example inside the Docker overview.
- Updated the example gif-animation.
Dependencies
- Updated
clap
from 4.5.4 to 4.5.20 - Updated
toml
from 0.8.13 to 0.8.19 - Updated
lazy_static
from 1.4.0 to 1.5.0 - Updated
serde
from 1.0.203 to 1.0.210 - Updated
tabled
from 0.15.0 to 0.16.0
v0.6.0
Added
- Added
--custom-servers-file
option to specify a custom file with DNS servers list to use instead of built-in list. - Added DNS.WATCH to built-in list.
- Added Norton ConnectSafe to built-in list.
- Added docker image and published it to Docker Hub for users who don't have Rust programming language environment installed on their machines.
- Covered some code with tests.
Documentation
- Added "Which method to choose?" article into installation section.
Dependencies
- Updated
serde
from 1.0.201 to 1.0.203 - Updated
toml
from 0.8.12 to 0.8.13
v0.5.1
Added
- Covered some code with tests.
Build
- Removed redundant default features of
serde
crate.
Documentation
- Fixed default requests count in features list.
- Fixed default table style in features list.
- Updated example gif-animation.
- Make example gif-animation to take full page width.
v0.5.0
Added
- Added
--style
option to configure table style. By default, ASCII style is used. - Added
--save-config
option to save favorite configurations in a file inside user's home directory (/home/user/.dns-bench/config.toml
) to avoid typing them every time.
Changed
- Changed arguments summary formatting to make it more compact.
- Changed table columns names formatting to make to more comfortable to read (i.e.
server_name
=>Server name
,last_resolved_ip
=>Last resolved IP
). - Changed default table style from
ascii
torounded
. - Changed default number of requests to each DNS server from
3
to10
. - Changed description property inside Cargo.toml.
Dependencies
- Updated
hickory-resolver
from 0.24.0 to 0.24.1
v0.4.0
Added
- Added
--protocol
option to specify protocol (either TCP or UDP). - Added
--lookup-ip
option to specify lookup IP version (either IPv4 or IPv6). - Added
--name-servers-ip
option to specify IP version used to establish connection (either IPv4 or IPv6). - Significant code refactoring.
- Various minor documentation improvements.
Changed
- Changed MSRV from 1.70.0 to 1.74.1
Dependencies
- Updated
tabled
from 0.14.0 to 0.15.0 - Updated
clap
from 4.4.11 to 4.5.4
v0.3.0
- Added
--requests
option to specify custom number of requests to each DNS server. - Added
--timeout
option to specify custom timeout in seconds. - Added Verisign public DNS to built-in list.
- Fixed tabled sorting, now failed DNS entries are always at the end of the table.
- Fixed error handling, now it shows actual error descriptions instead of static "Failed to resolve" message.
- Fixed sending extra requests on fails,
hickory-resolver
got default retries count of 2. - Improved progress bar appearance.
- Improved documentation.
v0.2.0
- Boosted performance 5x times by multi thread implementation (now by default 8 threads).
- Added
--threads
option to specify custom number of threads. - Added output of total benchmark time.
- Updated dependencies:
clap
from 4.4.7 to 4.4.11- Replaced
trust-dns-resolver
withhickory-resolver