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 List

Obtain domain resolution record

Request URL
Request Parameter
Field Parameter Type Required Description
domain ym String Yes domain resolution
page page Int No
pagesize limit Int No
Request Demo
	"url": "",
	"do": "POST",
	"data": {
		"appid": "testappid",
		"gntime": 1618999236,
		"limit": "20",
		"page": "1",
		"ym": "",
		"gntoken": "AD50DA6C019261CDEADFB7CD1E8EEC05"
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 Array return the requested operation result data
total count Int total data
page page Int page
data per page pagesize Int number per page
Return Data
Field Parameter Description
resolution ID id resolution ID
domain resolution ym
host header zjt wwww
resolution type lx A
resolution value jxz
MX value mx MX value 0-50
circuit xlid 0 default circuit
status zt 1 normal 2 disable
Response Demo
    "code": 1,
    "msg": "OK",
    "data": [
            "id": "1279",
            "ym": "",
            "zjt": "aaa",
            "lx": "A",
            "jxz": "",
            "mx": "0",
            "xlid": "0",
            "zt": "1"
    "count": 4,
    "page": 1,
    "pagesize": 20