DNSPING(1)

πŸ’– DNSPING(1) πŸ’–

okay so bestie, welcome to the General Commands Manual page for dnsping β€” yes, that's section 1, the user commands zone, and no, we are not skipping a single flag. sit down, grab a strawberry πŸ“, and let's get into it.


✨ NAME ✨

dnsping β€” the DNS ping utility. it pings, but for DNS. it's giving bestie-with-a-stopwatch energy. πŸ’…


🌸 DESCRIPTION 🌸

okay so here's the whole vibe: dnsping pings a DNS resolver by sending an arbitrary DNS query for a given number of times. like, you pick the query, you pick how many times, and it goes brrr and measures everything.

and then β€” the main character moment β€” it calculates:

  • the minimum response time
  • the maximum response time
  • the average response time
  • and the jitter, which is the stddev πŸ¦‹

periodt. that's the whole personality.


πŸŽ€ USAGE πŸŽ€

usage: dnsping [-h] [-q] [-v] [-s server] [-p port] [-P port] [-S address] [-c count] [-t type] [-w wait] hostname

that's the shape of it, fr fr. hostname at the end, always. πŸ‘‘


πŸ’… OPTIONS πŸ’…

every single one, no skips, we don't do that here.

  • -h, --help β€” show this help. the "hello, what is this" button. 🫢
  • -q, --quiet β€” quiet mode. shhh. 🀫
  • -v, --verbose β€” print the actual DNS response. like, the real receipts. no cap. πŸ”
  • -s, --server β€” which DNS server to use. default: first entry from /etc/resolv.conf. it just grabs the first one and goes. πŸ™ˆ
  • -p, --port β€” DNS server port number. default: 53. the classic. πŸ’«
  • -T, --tcp β€” use TCP instead of UDP. yes, TCP. she's reliable like that. ✨
  • -4, --ipv4 β€” use IPv4 as the default network protocol. old faithful. πŸ’œ
  • -6, --ipv6 β€” use IPv6 as the default network protocol. the long one, she's iconic. 🌈
  • -P, --srcport β€” query source port number. default: 0. (and yes, it's a capital P β€” lowercase p is the server port, don't mix them up bestie, i'm begging 😭)
  • -S, --srcip β€” query source IP address. default: default interface address β€” i.e. it just uses whatever your interface is already vibing with. 🧚
  • -c, --count β€” number of requests to send. default: 10. ten little pings, off into the void. πŸŽ€
  • -w, --wait β€” maximum wait time for a reply. default: 5. after that, we're not waiting around, we have places to be. ⏳
  • -t, --type β€” DNS request record type. default: A. change it to whatever record type your heart desires. πŸ”₯

🌟 SEE ALSO 🌟

for more documentation on dnsping, see https://dnsdiag.org/. go read it, it's giving lore. πŸ“š


and that's the page!! from the User Commands section, dated December 3 2016, signed off as DNSPING(1). mwah. πŸ’‹

πŸ“¦ where this page comes from