View and manage a domain and the records for it.
Returns a list of all of the dns records.
GET
/dns/{id}
curl \
--request GET 'https://my.interserver.net/apiv2/dns/{id}' \
--header "X-API-KEY: $API_KEY"
Response examples (200)
[
{
"id": "473",
"ttl": "86400",
"auth": "1",
"name": "hussfamily.com",
"prio": "0",
"type": "NS",
"content": "cdns1.interserver.net",
"disabled": "0",
"domain_id": "68",
"ordername": ""
},
{
"id": "474",
"ttl": "86400",
"auth": "1",
"name": "hussfamily.com",
"prio": "0",
"type": "NS",
"content": "cdns2.interserver.net",
"disabled": "0",
"domain_id": "68",
"ordername": ""
},
{
"id": "475",
"ttl": "86400",
"auth": "1",
"name": "hussfamily.com",
"prio": "0",
"type": "A",
"content": "64.20.35.186",
"disabled": "0",
"domain_id": "68",
"ordername": ""
}
]
Response examples (401)
{
"code": "string",
"message": "string"
}