Skip to content

listrecords with host=@ does not work #10

@Cugar15

Description

@Cugar15

Hi,

I'm having trouble with API.

  1. In the GUI interface of clouDNS, the host information is left blank.
  2. 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.

  1. 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions