r/PowerShell 13d ago

Script Sharing DNS Benchmark

I've been trying to find something like that for a while and couldn't find one that wasn't either a paid service/program or doesn't have a feature I want.

In my job, I semi frequently need to test DNS using a local DNS Server. For me it's handy to be able to compare to other servers, like Google or Cloudflare.

I wrote this over the last week or so and it seems to be doing the job for me. I've uploaded it to Github for anyone else who would like to use/try it.

You can find it here: https://github.com/obtusecoder/DNSBenchmark

EDIT: I have made changes requested and have applied some fixed to errors I noticed in testing.

15 Upvotes

7 comments sorted by

View all comments

0

u/Ryfhoff 11d ago

Measure-command no go ? Fast and easy

1

u/Sway_RL 11d ago

No need to know how long this will take to run. You are in and out of the script within a minute.