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.

Add DNS

Users add DNS

Request URL
http://api.gname.net/api/dns/add
Request Method
POST
Request Parameter
Field Parameter Type Required Description
DNS dns String Yes separate by commas
remark sm String Yes DNS remark description
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 Int record id of added DNS
Response Demo
{
    "code": 1,
    "msg": "add dns successfully",
    "data": 48
}

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