Skip to main content
GET
/
api
/
v1
/
zones
/
{zone}
/
dns-records
Get all dns record
curl --request GET \
  --url https://dns-service.iran.liara.ir/api/v1/zones/{zone}/dns-records \
  --header 'Authorization: <api-key>'
{
  "status": "<string>",
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "type": "<string>",
      "ttl": 123,
      "contents": [
        {}
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Enter the token with the Bearer: prefix, e.g. "Bearer abcde12345". #

Path Parameters

zone
string
required

The name of the zone to see all dns records

Response

Successful operation

status
string

success

data
object[]