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 Domain Resolution

Users modify domain resolution record information

Request URL
Request Parameter
Field Parameter Type Required Description
domain ym String Yes domain
record type lx String Yes type:A,CNAME,MX,URL,TXT
host record zj String Yes host record
record value jlz String Yes record value
resolution id jxid Int Yes domain resolution ID
Request Demo
	"url": "",
	"do": "POST",
	"data": {
		"appid": "testappid",
		"gntime": 1618999554,
		"jlz": "",
		"jxid": "123",
		"lx": "A",
		"ym": "",
		"zj": "www",
		"gntoken": "BCAD244EEA467A8CC1CEC26785B3A723"
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
Response Demo
    "code": 1,
    "msg": "modify domain resolution successfully",
    "data": ""

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