Hi,
I'm having trouble with API.
- In the GUI interface of clouDNS, the host information is left blank.
- To modify the record, the following command is issued :
MOD_ID=cloudns_api.sh -sj listrecords $ZONE host=@ type=A showid=true | jq --raw-output '.id'
echo 'ID :' ${MOD_ID}
cloudns_api.sh -s modify $ZONE id=${MOD_ID} record=${IP_A}
This works, but also adds '@' for the host.
- Applying list records again:
cloudns_api.sh -sj listrecords $ZONE host=@ type=A showid=true
does not return a record??
Any help which can be provided?
Thanks!
Hi,
I'm having trouble with API.
MOD_ID=
cloudns_api.sh -sj listrecords $ZONE host=@ type=A showid=true | jq --raw-output '.id'echo 'ID :' ${MOD_ID}
cloudns_api.sh -s modify
This works, but also adds '@' for the host.
cloudns_api.sh -sj listrecords $ZONE host=@ type=A showid=true
does not return a record??
Any help which can be provided?
Thanks!