API Services

With the API, you can engage in domain name registration and account management! Our API supports domain search, registration, renewal, dropcatch, and the use of your own software and servers, among other functions. You can easily configure domain name servers, select renewals, and create folders for your domains.

Modify Domain Resolution

Users modify domain resolution record information

Request URL
/api/resolution/edit
Request Method
POST
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.
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
resolution id jxid Integer Yes domain resolution ID
Request Demo
{
	"url": "http://api.gname.net/api/resolution/edit",
	"do": "POST",
	"data": {
		"appid": "testappid",
		"gntime": 1618999554,
		"jlz": "123.123.123.123",
		"jxid": "123",
		"lx": "A",
		"ym": "gname.com",
		"zj": "www",
		"gntoken": "BCAD244EEA467A8CC1CEC26785B3A723"
	}
}
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 String return the requested operation result data
Response Demo
{
    "code": 1,
    "msg": "modify domain resolution successfully",
    "data": ""
}