Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

dnsme record uses "value" instead of "data" #5

@markstos

Description

@markstos

The dnsme record subcommand collects and sends the -value option to the remote REST API, which is ignored because the REST API expects a 'data' parameter instead.

data is documented on page 4 in the official spec:
http://www.dnsmadeeasy.com/wp-content/themes/appdev/pdf/API-Documentation-DM_20110921.pdf

Either the dnsme API needs to be updated to match what the server expects, or the code should be updated to continue to continue to collect '-value' here.

I recommend updating the code to use -data instead of -value. That's consistent with how the rest of the client mirrors the REST API. Also, there's not really a concern about backcompat here-- the -value option isn't doing anything anyway.

I'm part way done with a patch for this, so I'll go ahead and finish one up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions