File dnsping.1 of Package dnsdiag
.\" (C) Copyright 2016 Ana Custura <ana@netstat.org.uk>
.TH DNSPING "1" "December 3 2016" "User Commands"
.SH NAME
dnsping \- DNS ping utility
.SH DESCRIPTION
dnsping pings a DNS resolver by sending an arbitrary DNS query for given number of times.
It calculates minimum, maximum and average response time as well as jitter (stddev).
.SH USAGE
usage: dnsping [\-h] [\-q] [\-v] [\-s server] [\-p port] [\-P port] [\-S address] [\-c count] [\-t type] [\-w wait] hostname
.SH OPTIONS
.TP
\fB\-h\fR \fB\-\-help\fR
Show this help
.TP
\fB\-q\fR \fB\-\-quiet\fR
Quiet
.TP
\fB\-v\fR \fB\-\-verbose\fR
Print actual dns response
.TP
\fB\-s\fR \fB\-\-server\fR
DNS server to use (default: first entry from \fI\,/etc/resolv.conf\/\fP)
.TP
\fB\-p\fR \fB\-\-port\fR
DNS server port number (default: 53)
.TP
\fB\-T\fR \fB\-\-tcp\fR
Use TCP instead of UDP
.TP
\fB\-4\fR \fB\-\-ipv4\fR
Use IPv4 as default network protocol
.TP
\fB\-6\fR \fB\-\-ipv6\fR
Use IPv6 as default network protocol
.TP
\fB\-P\fR \fB\-\-srcport\fR
Query source port number (default: 0)
.TP
\fB\-S\fR \fB\-\-srcip\fR
Query source IP address (default: default interface address)
.TP
\fB\-c\fR \fB\-\-count\fR
Number of requests to send (default: 10)
.TP
\fB\-w\fR \fB\-\-wait\fR
Maximum wait time for a reply (default: 5)
.TP
\fB\-t\fR \fB\-\-type\fR
DNS request record type (default: A)
.PP
.SH "SEE ALSO"
For more documentation on dnsping see https://dnsdiag.org/.