DNS
This page documenents API Endpoints for quering DNS data
JSON
GET /api/public/dns/{host}
Parameters
| Parameter | Type | Description |
|---|---|---|
| host | string | Any host. |
INFO
Example JSON:
json
{
"domain": "google.com",
"a": [
{
"ttl": 233,
"data": "142.251.14.101"
},
{
"ttl": 233,
"data": "142.251.14.102"
},
],
"aaaa": [
{
"ttl": 300,
"data": "2a00:1450:4001:c21::65"
},
{
"ttl": 300,
"data": "2a00:1450:4001:c21::66"
},
],
"cname": [
{
"ttl": 300,
"data": "cname.google.com"
}
],
"mx": [
{
"ttl": 112,
"data": {
"preference": 10,
"exchange": "smtp.google.com"
}
}
]
}