Docs › Network and contact checks
IPv6 check API
Is a domain ready for IPv6: website, nameservers and mail.
Looks up IPv6 (AAAA) addresses for a domain and for www, for each of its nameservers and for each mail server, and says plainly what is missing. Addresses that are not ordinary public IPv6 (6to4, Teredo, NAT64, private) are pointed out. This is a DNS check only: the server has no IPv6 connection, so it does not try to connect over IPv6. Counts as 10 requests against the rate limit.
Check a domain's IPv6
GET/v1/ipv6/{domain}
ready is true when the site (the name, or www when the name has no address) has a public IPv6 address, at least one nameserver does, and every mail server does (a domain without mail servers passes that part). website.network names the network of the first IPv6 address, from DB-IP.
| Parameter | Description |
|---|---|
domainpath, required | Domain name. |
curl
curl "https://api.dharun.dev/v1/ipv6/dharun.dev?utm_medium=docs"JavaScript
const response = await fetch("https://api.dharun.dev/v1/ipv6/dharun.dev?utm_medium=docs");
const body = await response.json();
if (!response.ok) throw new Error(body.error.message);
console.log(body.data);Python
import requests
response = requests.get("https://api.dharun.dev/v1/ipv6/dharun.dev?utm_medium=docs", timeout=10)
body = response.json()
if not response.ok:
raise RuntimeError(body["error"]["message"])
print(body["data"])Using an AI assistant? Connect the MCP server and it can call this API by itself.