DNS List#
Users obtain current domain DNS record|Request URL#
|Request Method#
|Request Parameter#
| Field | Parameter | Type | Required | Description |
|---|
| APPID | appid | String | Yes | Application Client Id |
| Timestamp | gntime | String | Yes | The current UNIX timestamp |
| Signature | gntoken | String | Yes | Signature string. For details, please refer to the Signature Method page. |
| Page | page | Integer | No | Page |
| page size | limit | Integer | No | page size |
|Response Data#
| Field | Parameter | Type | Description |
|---|
| return code | code | Integer | 1:return successfully, -1:return failed |
| return description | msg | String | description of the return request operation |
| return data | data | Object | return the requested operation result data |
|Return Data#
| Field | Parameter | Type | Description |
|---|
| DNS record id | id | Integer | 47 |
| submission time | sj | String | 2020-08-01 11:51:55 |
| domain DNS | dns | String | ns1.gname-dns.com, ns2.gname-dns.com |
| user ID | uid | Integer | 1004 |
| DNS remark | sm | String | default DNS |
| whether it is default DNS | ismr | Integer | 1 default, 0 non-default |
|Response Demo#
{
"code": 1,
"msg": "OK",
"data": [
{
"id": "47",
"sj": "2020-08-01 11:51:55",
"dns": "ns1.gname-dns.com,ns2.gname-dns.com",
"uid": "1xxxxx",
"sm": "default DNS",
"ismr": "0"
}
]
}
Modified at 2026-05-08 08:34:48