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.

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": "",
	"do": "POST",
	"data": {
		"appid": "testappid",
		"dns": ",",
		"gntime": 1618998084,
		"ym": "",
		"gntoken": "97F577FAE818A1E5AAE522933F24037B"
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 String return the requested operation result data
domain ym String domains which need to modify DNS
Response Demo
    "code": 1,
    "ym": "",
    "data": "",
    "msg": "submit DNS modification successfully,domain(,please wait for it to take effect"

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