...
http://localhost:5380/api/zones/records/add?token=x&domain=example.com&zone=example.com
实例
Code Block |
---|
curl 'http://192.168.31.223:5380/api/zones/records/add?token=3bf5056348e6a5abc9524c71611f7851c44277cdb834788b95d8d16552b054f8&domain=jump.uenpay.com&zone=uenpay.com&type=A&overwrite=true&ipAddress=192.168.31.253
{
"response": {
"zone": {
"name": "uenpay.com",
"type": "Primary",
"internal": false,
"dnssecStatus": "Unsigned",
"notifyFailed": false,
"notifyFailedFor": [],
"disabled": false
},
"addedRecord": {
"name": "jump.uenpay.com",
"type": "A",
"ttl": 3600,
"disabled": false,
"rData": {
"ipAddress": "192.168.31.253"
},
"dnssecStatus": "Unknown",
"lastUsedOn": "0001-01-01T00:00:00"
}
},
"status": "ok"
} |
修改记录
...