v1

latestOpenAPI 3.0.3raw.githubusercontent.com2025-01-0926145.0 KB
Domain

Retrieve DNS entries

Fetch all DNS entries for the specified domain.

get/api/domain/{internal_id}/dns

Path parameters

internal_idstring required

internal_id of the domain

Response

Successful DNS listing

object required

Example response

{
  "status": "success",
  "message": "DNS data successfully retrieved",
  "data": [
    {
      "record_id": 7498384,
      "type": "A",
      "name": "*",
      "data": "192.168.100.30",
      "ttl": 300
    },
    {
      "record_id": 7498385,
      "type": "A",
      "name": "hello",
      "data": "192.168.100.39",
      "ttl": 300
    },
    {
      "record_id": 7498387,
      "type": "TXT",
      "name": "fire",
      "data": "https://google.com",
      "ttl": 300
    }
  ]
}