/v1/dns
DNS resolution check
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/hostcheck-api/v1/dns" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hostcheck-api/v1/dns", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hostcheck-api/v1/dns");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/hostcheck-api/v1/dns",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"type": "dns",
"target": "example.com",
"results": [
{
"A": [
"104.20.23.154",
"172.66.147.243"
],
"ttl": 300,
"AAAA": [
"2606:4700:10::ac42:93f3",
"2606:4700:10::6814:179a"
],
"city": "Sofia",
"node": "bg1.node.check-host.net",
"country": "Bulgaria",
"reachable": true
},
{
"A": [
"104.20.23.154",
"172.66.147.243"
],
"ttl": 300,
"AAAA": [
"2606:4700:10::6814:179a",
"2606:4700:10::ac42:93f3"
],
"city": "Frankfurt",
"node": "de4.node.check-host.net",
"country": "Germany",
"reachable": true
},
{
"A": [
"8.6.112.0",
"8.47.69.0"
],
"ttl": 51,
"AAAA": [
"2a06:98c1:3123:8000::",
"2a06:98c1:3122:8000::"
],
"city": "Helsinki",
"node": "fi1.node.check-host.net",
"country": "Finland",
"reachable": true
},
{
"A": [
"104.20.23.154",
"172.66.147.243"
],
"ttl": 37,
"AAAA": [
"2606:4700:10::6814:179a",
"2606:4700:10::ac42:93f3"
],
"city": "Vilnius",
"node": "lt1.node.check-host.net",
"country": "Lithuania",
"reachable": true
},
{
"A": [
"104.20.23.154",
"172.66.147.243"
],
"ttl": 150,
"AAAA": [
"2606:4700:10::6814:179a",
"2606:4700:10::ac42:93f3"
],
"city": "New York",
"node": "us5.node.check-host.net",
"country": "USA",
"reachable": true
}
],
"nodes_checked": 5,
"permanent_link": "https://check-host.net/check-report/40d77229k36e",
"reachable_from": 5
},
"meta": {
"timestamp": "2026-06-01T00:04:13.094Z",
"request_id": "3aae7b37-084b-41bc-a5bd-dda3e5803940"
},
"status": "ok",
"message": "DNS checked",
"success": true
}