Read a zone
const options = {method: 'GET'};
fetch('https://ownsi.dev/api/zones/{name}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://ownsi.dev/api/zones/{name}{
"event": "delegation",
"data": {
"step": "delegation",
"name": "<string>",
"domain": {
"ascii": "<string>",
"unicode": "<string>",
"normalisations": [
"<string>"
],
"isPublicSuffix": true
},
"nameservers": [
"<string>"
],
"provider": "cloudflare",
"observedAt": "<string>",
"cached": true
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"docsUrl": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"docsUrl": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"docsUrl": "<string>"
}
}Read a zone
Streams the reading in the order DNS answers it: the delegation first, so the provider can be named, then the publishing estimate. No account needed; nothing is written to DNS.
GET
/
api
/
zones
/
{name}
Read a zone
const options = {method: 'GET'};
fetch('https://ownsi.dev/api/zones/{name}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://ownsi.dev/api/zones/{name}{
"event": "delegation",
"data": {
"step": "delegation",
"name": "<string>",
"domain": {
"ascii": "<string>",
"unicode": "<string>",
"normalisations": [
"<string>"
],
"isPublicSuffix": true
},
"nameservers": [
"<string>"
],
"provider": "cloudflare",
"observedAt": "<string>",
"cached": true
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"docsUrl": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"docsUrl": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"docsUrl": "<string>"
}
}