I'm looking for a tool to lookup a domain name through a DNS server and outputs the time it took to resolve. My requirement is that it should bypass the DNS cache.
Has anyone used such a tool?
NOTE: "dig" doesn't have any option to bypass the cache and therefore will not be useful in this case.
dig also doesn't use any cache, but queries your configured resolver directly. If that resolver caches, you can use dig's +trace option to not use the resolver, but query DNS directly, from the rootservers down: