Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to time DNS resolutions on a Windows 7 machine. I have downloaded the "DIG" tool for windows, but there is no inherent timing available. The other thing i have is powershell, im unable to find a command that returns the time to resolve the DN to a host address.

Any ideas?

Note: This is for a university project, not just a one off address. I am going to be collecting data for hundreds (probably) of DNS lookups.

share|improve this question
Are you going to test the DNS servers or individual websites? – HackToHell Feb 13 '12 at 13:57
Individual websites. My hypothesis is that it takes longer to resolve the domain name of a US webpage over a UK one. Whilst i know this is utter crap because they could be hosted anywhere etc... I jump through a necessary hoop – Stephen Murby Feb 13 '12 at 14:10
To answer your question properly, i have a list of the most visited webpages, both for UK and US domains. I am going to time the DNS lookup of each domain. – Stephen Murby Feb 13 '12 at 14:11

Do this in a Linux VM. Linux is free and so is VMWare Player. Then you can get your statistics running something like time dig

As a student you should be using Linux anyway!

share|improve this answer
I had thought i might resort to this, do you know what the smallest version of Linux is? – Stephen Murby Feb 13 '12 at 14:14
Puppy Linux. :) It's about 100 MiB. – deed02392 Feb 13 '12 at 14:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .