curl --request POST \
--url https://dns-service.iran.liara.ir/api/v1/zones \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>"
}
'{
"status": "<string>",
"data": {
"id": "<string>",
"name": "<string>",
"status": "<string>",
"currentNameServers": [
"<string>"
],
"nameServers": [
"<string>"
],
"lastCheckAt": "<string>",
"createdAt": "<string>"
}
}creates a new zone on dns server
curl --request POST \
--url https://dns-service.iran.liara.ir/api/v1/zones \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>"
}
'{
"status": "<string>",
"data": {
"id": "<string>",
"name": "<string>",
"status": "<string>",
"currentNameServers": [
"<string>"
],
"nameServers": [
"<string>"
],
"lastCheckAt": "<string>",
"createdAt": "<string>"
}
}