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
http://api.gname.net/api/resolution/list
Request Method
POST
Request Parameter
Field Parameter Type Required Description
domain ym String Yes domain resolution
page page Int No
pagesize limit Int No
Request Demo
{
	"url": "http://api.gname.net/api/resolution/list",
	"do": "POST",
	"data": {
		"appid": "testappid",
		"gntime": 1618999236,
		"limit": "20",
		"page": "1",
		"ym": "gname.com",
		"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 gname.com
host header zjt wwww
resolution type lx A
resolution value jxz 127.0.0.1
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": "qingdaoguidao.com",
            "zjt": "aaa",
            "lx": "A",
            "jxz": "127.0.0.1",
            "mx": "0",
            "xlid": "0",
            "zt": "1"
        }
    ],
    "count": 4,
    "page": 1,
    "pagesize": 20
}

Copyright© 2021 GNAME.COM. All rights reserved. Legal Statement | Privacy Policy