| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | dnssec_enable | boolean | |
| dnssec_keys | dnssec_keygen | asso | |
| dnssec_keys | dnssec_keypub | asso | |
| zoon_sign | dnssec_zonesign | asso | |
| ds_file | ds_file | asso |
{
"DNSSECSettings": {
"meta": {
"abstract": false,
"verbose_name": DNSSEC Setting,
},
"fieldgroups": [
{
"fields": [
{
"verbose_name": field_verbose_name1,
"field_name": field_name1
},
...
],
"group_name": field_group_name1
},
...
]
}
}
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| asso_targets | string or list | specify the target asso you want to perform action on. Can be empty or not specified when there is no target asso needed. |
| type | enum | Available values:
|
| file_name | string | |
| URL | url |
{
"config_change": true|false,
"msg": <msg>
}
| Parameter | Type | Description |
|---|---|---|
| config_change | bool | Whether the action causes configuration change. |
| msg | sring | Empty when action is performed successfully, otherwise it represents the error info. |
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| asso_targets | string or list | specify one target asso you want to perform action on. And the target asso is required. |
| type | enum | Available values:
|
| URL | url |
{
"config_change": true|false,
"msg": <msg>
}
| Parameter | Type | Description |
|---|---|---|
| config_change | bool | Whether the action causes configuration change. |
| msg | sring | Empty when action is performed successfully, otherwise it represents the error info. |
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| asso_targets | string or list | specify the target asso you want to perform action on. Can be empty or not specified when there is no target asso needed. |
| file_name | string | |
| URL | url |
{
"config_change": true|false,
"msg": <msg>
}
| Parameter | Type | Description |
|---|---|---|
| config_change | bool | Whether the action causes configuration change. |
| msg | sring | Empty when action is performed successfully, otherwise it represents the error info. |
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| asso_targets | string or list | specify one target asso you want to perform action on. And the target asso is required. |
| URL | url |
{
"config_change": true|false,
"msg": <msg>
}
| Parameter | Type | Description |
|---|---|---|
| config_change | bool | Whether the action causes configuration change. |
| msg | sring | Empty when action is performed successfully, otherwise it represents the error info. |
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| host_name | string | |
| ksk_name | string | |
| zsk_name | string | |
| zone_name | dynamic_enum |
{
"config_change": true|false,
"msg": <msg>
}
| Parameter | Type | Description |
|---|---|---|
| config_change | bool | Whether the action causes configuration change. |
| msg | sring | Empty when action is performed successfully, otherwise it represents the error info. |
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| host_name | string |
{
"config_change": true|false,
"msg": <msg>
}
| Parameter | Type | Description |
|---|---|---|
| config_change | bool | Whether the action causes configuration change. |
| msg | sring | Empty when action is performed successfully, otherwise it represents the error info. |
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| asso_targets | string or list | specify the target asso you want to perform action on. And target asso can be one or more. |
{
"config_change": true|false,
"msg": <msg>
}
| Parameter | Type | Description |
|---|---|---|
| config_change | bool | Whether the action causes configuration change. |
| msg | sring | Empty when action is performed successfully, otherwise it represents the error info. |
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| asso_targets | string or list | specify the target asso you want to perform action on. And target asso can be one or more. |
{
"config_change": true|false,
"msg": <msg>
}
| Parameter | Type | Description |
|---|---|---|
| config_change | bool | Whether the action causes configuration change. |
| msg | sring | Empty when action is performed successfully, otherwise it represents the error info. |
| Parameter | Type | Description |
|---|---|---|
| field_group_name | URI | (optional) Target field group name to query. Available names are: default, dnssec_keys, zoon_sign, fulldns_sign, ds_file, Notice: There could only be one field_group_name or field_name in the URL. And if both field_group_name and field_name are not specified, will try to query default field_group data. |
| field_name | URI | (optional) Target field name to query. Available names are: dnssec_enable, dnssec_keygen, dnssec_keypub, dnssec_zonesign, ds_file, Notice: There could only be one field_group_name or field_name in the URL. |
| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | dnssec_enable | boolean | |
| dnssec_keys | dnssec_keygen | asso | |
| dnssec_keys | dnssec_keypub | asso | |
| zoon_sign | dnssec_zonesign | asso | |
| ds_file | ds_file | asso |
{
"DNSSECSettings": {
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field_group name is provided:
{
"DNSSECSettings": {
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field name is provided:
{
"DNSSECSettings": {
<field>:<value>,
}
}
{
<field_name>:<value>
}
When field name is specified in URL:
Notice: The fields not provided are left untouched.
{
<field_name1>:<value1>,
<field_name2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| field_name | URI | (optional) Target field name to update. Available field names are: dnssec_enable, dnssec_keygen, dnssec_keypub, dnssec_zonesign, ds_file, |
| Field Name | Type | Description |
|---|---|---|
| dnssec_enable | boolean |
All configuration fields and their values are replied:
{
"DNSSECSettings": {
<field1>:<value1>,
<field2>:<value2>,
...
<field_group1>: {
<field3>:<value3>,
<field4>:<value4>,
...
},
<field_group2>: {
<field5>:<value5>,
<field6>:<value6>,
...
},
...
}
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"DNSSECSettings": {
"instance_id":<instance_id>,
"dnssec_keygen":[
{
<field1>:<value1>,
<field2>:<value2>,
...
}
]
}
}
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| host_name | string | |
| type_name | enum | Available values:
|
| algorithm | enum | Available values:
|
| size | uint16 |
{
"DNSSECKeygen": {
"instance_id":<instance_id>,
<param1>:<value1>,
<param2>:<value2>,
...
}
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"DNSSECSettings": {
"instance_id":<instance_id>,
"dnssec_keypub":[
{
<field1>:<value1>,
<field2>:<value2>,
...
}
]
}
}
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| type_name | enum | Available values:
|
| key_name | string | |
| roll | uint32 | |
| expire | uint32 | |
| ttl | uint32 |
{
"KeyPublish": {
"instance_id":<instance_id>,
<param1>:<value1>,
<param2>:<value2>,
...
}
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"DNSSECSettings": {
"instance_id":<instance_id>,
"dnssec_zonesign":[
{
<field1>:<value1>,
<field2>:<value2>,
...
}
]
}
}
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|
{
"ZoneSign": {
"instance_id":<instance_id>,
<param1>:<value1>,
<param2>:<value2>,
...
}
}
{
"msg": <success-or-error-msg>
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"DNSSECSettings": {
"instance_id":<instance_id>,
"ds_file":[
{
<field1>:<value1>,
<field2>:<value2>,
...
}
]
}
}
{
"msg": <success-or-error-msg>
}