Nameserver Performance
Benchmark authoritative nameserver response times.
GET
/v1/ns-performance
curl "https://dns.toolkitapi.io/v1/ns-performance?domain=github.com"
import httpx
resp = httpx.get(
"https://dns.toolkitapi.io/v1/ns-performance?domain=github.com",
)
print(resp.json())
const resp = await fetch("https://dns.toolkitapi.io/v1/ns-performance?domain=github.com", {
});
const data = await resp.json();
console.log(data);
# See curl example
Response
200 OK
{
"domain": "github.com",
"nameservers_tested": 4,
"fastest_ns": "dns1.p08.nsone.net",
"slowest_ns": "dns4.p08.nsone.net",
"average_ms": 24.7,
"results": [
{"nameserver": "dns1.p08.nsone.net", "ip": "198.51.44.8", "response_time_ms": 18.3, "status": "ok", "error": null},
{"nameserver": "dns2.p08.nsone.net", "ip": "198.51.45.8", "response_time_ms": 31.1, "status": "ok", "error": null}
],
"query_time_ms": 49.4
}
Try It Live
Live Demo
Response
Description
Benchmark authoritative nameserver response times.
How to Use
1
1. Pass the domain in the `domain` parameter. 2. Review `fastest_ns` and `slowest_ns` to identify performance outliers. 3. Check `average_ms` against your performance requirements.
About This Tool
Nameserver Performance discovers a domain's authoritative nameservers and benchmarks each one's response time. It identifies the fastest and slowest nameservers and calculates average latency — useful for evaluating DNS provider performance.
Why Use This Tool
- DNS provider evaluation — Compare nameserver response times
- Performance monitoring — Track nameserver latency over time
- Migration planning — Benchmark current vs. prospective DNS providers
- Troubleshooting — Identify slow or unresponsive nameservers
Frequently Asked Questions
What's a good nameserver response time?
Under 50ms is excellent, 50-100ms is acceptable. Over 200ms indicates a problem.
How are nameservers discovered?
The API queries the domain's NS records to find all authoritative nameservers, then benchmarks each one.
Start using Nameserver Performance now
Get your free API key and make your first request in under a minute.