Display real-time DNS resolver information on your website with our free embeddable widget. Show performance metrics, reliability scores, and features to your visitors.
If your readers ask which DNS server to use, this widget answers with live data instead of a list that was true the day the page was written. Pick a resolver by IP or by name, choose light or dark, and keep the fields you want: address, reliability score, current status, features such as DNSSEC and ad blocking, location, and response time. The numbers come from DNS Spy's own query nodes and refresh on their own, so the widget stays correct after you publish.
It fits hosting and ISP help pages, router and firmware wikis, privacy guides, and any article that recommends a public DNS server. The code is one script tag and one container. There is nothing to install, nothing to maintain, and no account needed.
The widget is free to use on any site, commercial or not, on one condition: the small "Powered by DNS Spy" line at the bottom stays visible and linked. That line is how the data pays for itself. Hide it and the widget is no longer licensed for your page.
data-resolver - Display a single resolver by IP addressdata-organization - Display all resolvers from an organization (up to 10)data-theme - Choose "light" or "dark" themedata-fields - Comma-separated list of fields to display<!-- Display Google's DNS resolver -->
<script src="https://dnsspy.io/dns-tools/public-dns-servers-list/embed.js"
data-resolver="8.8.8.8"
data-theme="light"></script>
<!-- Display all Cloudflare resolvers -->
<script src="https://dnsspy.io/dns-tools/public-dns-servers-list/embed.js"
data-organization="Cloudflare"
data-theme="dark"></script>
Retrieve information about a specific DNS resolver by IP address.
/api/embed/resolver/{ip}
ip - The IP address of the resolver (IPv4 or IPv6)curl https://dnsspy.io/api/embed/resolver/8.8.8.8
{
"ip": "8.8.8.8",
"ip_version": 4,
"reliability_score": 99.9,
"status": "online",
"avg_response_time_ms": 15,
"features": {
"DoH": true,
"DoT": false,
"IPv6": true
},
"country_code": "US",
"country_name": "United States",
"city": "Mountain View",
"asn_org": "Google LLC",
"last_checked_at": "2026-02-24T12:00:00Z"
}
Retrieve up to 10 resolvers from a specific organization.
/api/embed/organization/{org}
org - The organization name (partial match supported)curl https://dnsspy.io/api/embed/organization/Cloudflare
{
"resolvers": [
{
"ip": "1.1.1.1",
"ip_version": 4,
"reliability_score": 99.9,
"status": "online",
"avg_response_time_ms": 12,
"features": {
"DoH": true,
"DoT": true,
"IPv6": true
}
},
{
"ip": "1.0.0.1",
"ip_version": 4,
"reliability_score": 99.8,
"status": "online",
"avg_response_time_ms": 13,
"features": {
"DoH": true,
"DoT": true,
"IPv6": true
}
}
]
}
The widget API endpoints are rate limited to ensure fair usage and system stability.
Note: When rate limits are exceeded, the API will return a 429 status code with a Retry-After header indicating when you can retry the request.
The widget API endpoints support Cross-Origin Resource Sharing (CORS), allowing you to make requests from any domain.
All widget API endpoints include the Access-Control-Allow-Origin: * header, enabling cross-origin requests from any website.
Explore our complete list of public DNS servers with real-time performance metrics, reliability scores, and geographic information.
View DNS Servers List