# dnsping
**dnsping** is a ping tool pinging a server with DNS.
## Usage
```
dnsping
# Designate a host and use SOCKS proxy
dnsping -H -s
```
### Args
``: (Required) Server.
### Flags
`-h, --help`: Prints help information.
`-i, --iterate`: Do query iteratively.
`-V, --version`: Prints version information.
### Options
`-p, --port `: Port, default as `53`.
`-H, --host `: Host, default as `www.google.com`.
`-s, --socks-proxy `: SOCKS proxy. Only support SOCKS5 proxy.
`--username `: Username. This value should be set only when the SOCKS5 server requires the username/password authentication.
`--password `: Password. This value should be set only when the SOCKS5 server requires the username/password authentication.
`-c, --count `: Number of queries to send, `0` as sending constantly without limit, default as `0`.
`-I, --interval `: Wait between sending each packet, default as `1000` ms.
`-w, --timeout `: Timeout to wait for each response, `0` as no timeout, default as `1000` ms.
## License
dnsping is licensed under [the MIT License](/LICENSE).