Require DNS Service Subscription enabled.
| Field | Type | Description |
|---|---|---|
| type | String | Record type |
| name | String | Record name |
| ttl | Number | Indicates how often a DNS server will refresh the record (in millisecond) |
| rdatas | Object[] | List of rdata object data |
| value | String | Record value |
| attributes | Object | Attributes |
| dnstableId | Number | DNS table ID |
| remarks | String | Additional remarks |
| rrsigs | Object[] | List of signature details object data |
| algorithm | String | Cryptographic algorithm used to create the signature |
| labels | Number | Number of labels in the original RRSIG-record name (used to validate wildcards) |
| originalTtl | Number | TTL value of the covered record set |
| expiration | String | Date and time when the signature expires |
| inception | String | Date and time when the signature was created |
| keyTag | String | A short numeric value which can help quickly identify the DNSKEY-record which can be used to validate this signature |
| signer | String | Name of the DNSKEY-record which can be used to validate this signature |
| signature | String | Cryptographic signature |
| Action | URL |
|---|---|
| Get Domain Zone Dnssec Info | {{baseUrl}}/dns/v2/zone/:zone/subscription/dnssec/info |
| Get Domain Zone Dnssec Ds Record | {{baseUrl}}/dns/v2/zone/:zone/subscription/dnssec/ds |
curl --location --request GET 'https://oteapi.webnic.cc/dns/v2/zone/domaintesting123.com/subscription/dnssec/dnskey' \
--header 'Authorization: Bearer <token>'{
"code": "1000",
"message": "Command completed successfully.",
"data": {
"type": "DNSKEY",
"name": "",
"ttl": 3600,
"rdatas": [
{
"value": "256 3 13 h46QUqr/Q+SqCzeFrR4MFA5IbzSybCRsUEd4Y40sL5uJSMwFVVxQeZ6uMCFUR5GSzcUhFNXB81veuIHvOdA8kg==",
"attributes": {}
},
{
"value": "257 3 13 KEZddFJic0t3FwVfumQDN7rJ4yO4kekHBwVA53rvJ+fsmOuFpOA4V1hLutI6hD6Mt/yVvfk8wZ5esfB/r7Xgnw==",
"attributes": {}
}
],
"dnstableId": null,
"remarks": null,
"rrsigs": [
{
"algorithm": "ECDSAP256SHA256",
"labels": 2,
"originalTtl": 3600,
"expiration": "2024-07-14T03:33:07Z",
"inception": "2024-05-15T03:33:07Z",
"keyTag": "56692",
"signer": "domaintesting123.com.",
"signature": "Tra6ONG1SmigEWAZIV922lGeV+QeDUVzykgvayx3s97GivGGvLGwxk0r+cEV9IVJl9k96IwQXpHjeSnujAF1eA=="
}
]
}
}