DNS OpenAPI
Use your client API key to manage DNS records via OpenAPI.
Base URL
https://vps8.zz.cd/api/client/dnsopenapi/*
Authentication
HTTP Basic auth: username=client, password=YOUR_API_KEY
- username:
client
- password:
YOUR_API_KEY
How to get API key
- 登录客户区域
- Open Account / Profile settings
- Find API key section and generate/copy your key
If your account is suspended or API access is disabled by admin, calls will be rejected.
Rate limit is enabled. Excess requests return HTTP 429.
Supported record types
- A
- AAAA
- MX
- CNAME
- TXT
- NS
NS records use the same record_* endpoints (set type=NS). Legacy ns_record_* endpoints are internal-only and not documented for public use.
Endpoints
POST /api/client/dnsopenapi/domain_list — List DNS zones
POST /api/client/dnsopenapi/record_list — List records for a domain
POST /api/client/dnsopenapi/record_create — Create record
POST /api/client/dnsopenapi/record_update — Update record
POST /api/client/dnsopenapi/record_delete — Delete record
Example: domain_list
curl -sS -u "client:YOUR_API_KEY" \
-H "Content-Type: application/json" \
-X POST "https://vps8.zz.cd/api/client/dnsopenapi/domain_list" \
-d '{}'
Example: record_list
curl -sS -u "client:YOUR_API_KEY" \
-H "Content-Type: application/json" \
-X POST "https://vps8.zz.cd/api/client/dnsopenapi/record_list" \
-d '{"domain":"example.com"}'
Example: record_create
curl -sS -u "client:YOUR_API_KEY" \
-H "Content-Type: application/json" \
-X POST "https://vps8.zz.cd/api/client/dnsopenapi/record_create" \
-d '{"domain":"example.com","host":"www","type":"A","value":"1.2.3.4","ttl":600}'
Example: record_update
curl -sS -u "client:YOUR_API_KEY" \
-H "Content-Type: application/json" \
-X POST "https://vps8.zz.cd/api/client/dnsopenapi/record_update" \
-d '{"domain":"example.com","id":12345,"value":"5.6.7.8","ttl":600}'
Example: record_delete
curl -sS -u "client:YOUR_API_KEY" \
-H "Content-Type: application/json" \
-X POST "https://vps8.zz.cd/api/client/dnsopenapi/record_delete" \
-d '{"domain":"example.com","id":12345}'
DNS OpenAPI
Use your client API key to manage DNS records via OpenAPI.
Base URL
Authentication
HTTP Basic auth: username=client, password=YOUR_API_KEY
clientYOUR_API_KEYHow to get API key
If your account is suspended or API access is disabled by admin, calls will be rejected.
Rate limit is enabled. Excess requests return HTTP 429.
Supported record types
NS records use the same record_* endpoints (set type=NS). Legacy ns_record_* endpoints are internal-only and not documented for public use.
Endpoints
POST /api/client/dnsopenapi/domain_list— List DNS zonesPOST /api/client/dnsopenapi/record_list— List records for a domainPOST /api/client/dnsopenapi/record_create— Create recordPOST /api/client/dnsopenapi/record_update— Update recordPOST /api/client/dnsopenapi/record_delete— Delete recordExample: domain_list
Example: record_list
Example: record_create
Example: record_update
Example: record_delete