DNS SecurityUpdate Zone SOA

Update Zone SOA

curl -X POST "https://api.5centscdn.com/v2/dns/example_string/soa" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
  "primaryNS": "ns1.example-dns.com",
  "adminMail": "admin@example.com",
  "refresh": "3600",
  "retry": "1800",
  "expire": "1209600",
  "defaultTTL": "3600"
}'
{
  "status": "Success",
  "statusDescription": "The SOA record was modified successfully."
}
POST
/dns/{dnsId}/soa
POST
Base URLstring

Target server for requests. Edit to use your own host.

API Key (header: X-API-Key)
X-API-Keystring
Required

API key (sent in header)

Content-Typestring
Required

The media type of the request body

Options: application/json
primaryNSstring

Primary nameserver for the zone.

adminMailstring

Administrator email address for the zone.

refreshstring

How often secondary servers check for updates, in seconds.

retrystring

How long secondary servers wait before retrying a failed refresh, in seconds.

expirestring

How long secondary servers keep zone data if they cannot reach the primary, in seconds.

defaultTTLstring

Default TTL applied to records without an explicit TTL, in seconds.

Request Preview
Response

Response will appear here after sending the request

Authentication

header
X-API-Keystring
Required

API Key for authentication. Provide your API key in the header.

Path Parameters

Body

application/json
primaryNSstring

Primary nameserver for the zone.

Example:
ns1.example-dns.com
adminMailstring

Administrator email address for the zone.

Example:
admin@example.com
refreshstring

How often secondary servers check for updates, in seconds.

Example:
3600
retrystring

How long secondary servers wait before retrying a failed refresh, in seconds.

Example:
1800
expirestring

How long secondary servers keep zone data if they cannot reach the primary, in seconds.

Example:
1209600
defaultTTLstring

Default TTL applied to records without an explicit TTL, in seconds.

Example:
3600

Responses

statusstring

Operation outcome.

statusDescriptionstring

Human-readable description of the operation outcome.