Measure performance of authoritative name servers
Install go: http://golang.org/doc/install
chmod +x build
./build
Usage: nametime [option ...]
-domain="tumblr.com": The domain to resolv
-jsonout=false: Output json
-server="8.8.8.8:53": DNS server address (ip:port)
-timesToCheck=25: How many lookups do you want to base the avg on
-tsdput=false: Export metrics to OpenTSDB
-tsdserver="opentsdb.example.com:4243": Endpoint of OpenTSDB to report metrics
-v=false: Verbose logging
./nametime -server="ns1.p20.dynect.net:53" -domain="soundcloud.com" -timesToCheck=25
Output:
Resolved soundcloud.com with server ns1.p20.dynect.net:53 in avgConnTime 0.002s and avgTime 0.015s.
./nametime -server="ns1.yahoo.com:53" -domain="yahoo.com" -jsonout
Output:
{"Domain":"yahoo.com","DnsServer":"ns1.yahoo.com:53","AvgConnTime":0.0011037932000000001,"AvgTime":0.013623636160000003}
./nametime -server="pdns1.ultradns.net:53" -domain="tumblr.com" -tsdserver="opentsdb.example.com:4242" -tsdput