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

Documentation Index

Fetch the complete documentation index at: https://developers.liara.ir/llms.txt

Use this file to discover all available pages before exploring further.

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 dns record

id
string
required

The id of dns record to see its data

Response

Successful operation

status
string

success

data
object