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
Request Parameter
Field Parameter Type Required Description
domain ym String Yes need to modify the DNS domain name
DNS dns String Yes separate by commas
Request Demo
	"url": "http://api.gname.net/api/domain/dns",
	"do": "POST",
	"data": {
		"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"