Users add domain resolution record
NS Route List
| Default | 0 | 
| Search Engines | seo | 
| Search Engines-Google | seo-google | 
| Search Engines-Baidu | seo-baidu | 
| Search Engines-Bing | seo-bing | 
| Asia | asia | 
| Chinese Mainland | asia-cn | 
| Non Chinese Mainland | non-cn | 
| Singapore | asia-sg | 
| Europe | eu | 
| America | na-usa | 
/api/resolution/add
POST
| 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. | 
| domain | ym | String | Yes | domain | 
| record type | lx | String | Yes | type:A,CNAME,MX,URL,TXT | 
| host record | zj | String | Yes | host record | 
| record value | jlz | String | Yes | record value | 
| MX value | mx | Integer | Yes | MX value | 
| TTL value | ttl | Integer | Yes | TTL value | 
| Router | xl | String | Yes | Router | 
{
	"url": "{API HOST}/api/resolution/add",
	"do": "POST",
	"data": {
		"appid": "testappid",
		"gntime": 1618998657,
		"jlz": "123.123.123.123",
		"lx": "A",
		"ym": "gname.com",
		"zj": "www",
		"gntoken": "E6A63DA0BE38EC69B9C36A3D1188A5C5"
	}
}
                | 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 | Integer | return domain resolution record ID | 
{
    "code": 1,
    "msg": "make domain resolution successfully",
    "data": 1277
}
                Current system time:2025-11-04 20:08:15(UTC+8) Privacy PolicyRegistrants' Benefits And Responsibilities SpecificationsRegistrant Educational Information
Copyright© 2025 GNAME.COM. All rights reserved.