GET /dns

View and manage your DNS domains and records

Gets a list of the domains currently configured on the DNS servers

Responses

  • 200 application/json

    Listing of Dns Domains setup

    Hide response attributes Show response attributes object
    • id integer
    • name string
    • content string
  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • code string Required
    • message string Required
GET /dns
curl \
 --request GET 'https://my.interserver.net/apiv2/dns' \
 --header "X-API-KEY: $API_KEY"
Response examples (200)
[
  {
    "id": 68,
    "name": "hussfamily.com",
    "content": "64.20.35.186"
  },
  {
    "id": 1658,
    "name": "detain.interserver.net",
    "content": "66.45.228.74"
  },
  {
    "id": 1659,
    "name": "creation.interserver.net",
    "content": "66.23.239.99"
  }
]
Response examples (401)
{
  "code": "string",
  "message": "string"
}