API Services

With the API, you can engage in domain name registration and account management! Our API supports domain search, registration, renewal, dropcatch, and the use of your own software and servers, among other functions. You can easily configure domain name servers, select renewals, and create folders for your domains.

Modify DNS

User modify DNS

Request URL
/api/domain/dns
Request Method
POST
Request Parameter
Field Parameter Type Required Description
APPID appid String Yes Application Client Id
Timestamp gntime String Yes The current UNIX timestamp
Signature gntoken String Yes Signature string. For details, please refer to the Signature Method page.
domain ym String Yes need to modify the DNS domain name
DNS dns String Yes separate by commas
Request Demo
{
    "appid": "testappid",
    "dns": "ns1.gname-dns.com,ns2.dngame-dns.com",
    "gntime": 1618998084,
    "ym": "gname.com",
    "gntoken": "97F577FAE818A1E5AAE522933F24037B"
}
Response Data
Field Parameter Type Description
return code code Integer 1:return successfully -1:return failed
return description msg String description of the return request operation
return data data String return the requested operation result data
domain ym String domains which need to modify DNS
Response Demo
{
    "code": 1,
    "ym": "gname.net",
    "data": "",
    "msg": "submit DNS modification successfully,domain(gname.net),please wait for it to take effect"
}

Current system time:2025-02-19 22:49:21(UTC+8) Privacy PolicyRegistrants' Benefits And Responsibilities SpecificationRegistrant Educational Information

Copyright© 2025 GNAME.COM. All rights reserved.