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.

DNS List

Users obtain current domain DNS record

Request URL
http://api.gname.net/api/dns/list
Request Method
POST
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
DNS record id id 47
submission time sj 2020-08-01 11:51:55
domain DNS dns ns1.gname-dns.com,ns2.gname-dns.com
user ID uid 1004
DNS remark sm default DNS
whether it is default DNS ismr 1 default,0 non-default
Response Demo
{
    "code": 1,
    "msg": "OK",
    "data": [
        {
            "id": "47",
            "sj": "2020-08-01 11:51:55",
            "dns": "ns1.gname-dns.com,ns2.gname-dns.com",
            "uid": "1004",
            "sm": "default DNS",
            "ismr": "0"
        }

    ]
}

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