Crates.io | dnsping |
lib.rs | dnsping |
version | 0.2.0 |
source | src |
created_at | 2020-07-07 14:16:07.241829 |
updated_at | 2020-08-14 14:09:11.727994 |
description | Ping a server with DNS. |
homepage | |
repository | https://github.com/zhxie/dnsping |
max_upload_size | |
id | 262294 |
size | 32,597 |
dnsping is a ping tool pinging a server with DNS.
dnsping <ADDRESS>
# Designate a host and use SOCKS proxy
dnsping <ADDRESS> -H <HOST> -s <ADDRESS>
<ADDRESS>
: (Required) Server.
-h, --help
: Prints help information.
-i, --iterate
: Do query iteratively.
-V, --version
: Prints version information.
-p, --port <PORT>
: Port, default as 53
.
-H, --host <HOST>
: Host, default as www.google.com
.
-s, --socks-proxy <ADDRESS>
: SOCKS proxy. Only support SOCKS5 proxy.
--username <VALUE>
: Username. This value should be set only when the SOCKS5 server requires the username/password authentication.
--password <VALUE>
: Password. This value should be set only when the SOCKS5 server requires the username/password authentication.
-c, --count <VALUE>
: Number of queries to send, 0
as sending constantly without limit, default as 0
.
-I, --interval <VALUE>
: Wait between sending each packet, default as 1000
ms.
-w, --timeout <VALUE>
: Timeout to wait for each response, 0
as no timeout, default as 1000
ms.
dnsping is licensed under the MIT License.