Apply API

Gname API is available for domain drop catch, account management, domain query, registration, renewal, deletion, using for apps and servers etc. You are able to easily set domain servers, choose renewal and create folder.

Domain Resolution Details

Obtain domain resolution record details

Request URL
/api/resolution/info
Request Parameter
Field Parameter Type Required Description
domain ym String Yes domain resolution
resolution id jxid Int Yes domain resolution ID
Request Demo
{
	"url": "http://api.gname.net/api/resolution/info",
	"do": "POST",
	"data": {
		"appid": "testappid",
		"gntime": 1618999596,
		"jxid": "123",
		"ym": "gname.com",
		"gntoken": "4AC60F2CF918BDEA4DBAB9004D062234"
	}
}
Response Data
Field Parameter Type Description
return code code Int 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 Description
resolution ID id 196
domain ym qingdaoguidao.com
host header zjt cccc
resolution type lx A
resolution value jxz 127.0.0.2
MX value mx 0
circuit xlid 0
updating time gxsj 1597405520
status code zt 1 normal,2 disable
Response Demo
{
    "code": 1,
    "msg": "OK",
    "data": {
        "id": "196",
        "ym": "qingdaoguidao.com",
        "zjt": "cccc",
        "zt": "1",
        "lx": "A",
        "jxz": "127.0.0.2",
        "mx": "0",
        "gxsj": "1597405520",
        "xlid": "0"
    }
}