Skip to content

请求支持vps8.zz.cd解析,谢谢! #469

@myedunote

Description

@myedunote

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
  1. 登录客户区域
  2. Open Account / Profile settings
  3. 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}'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions