/go/dynadot: dynadot from the Command Line

/go/dynadot publishes DNS records for a domain whose DNS is hosted at Dynadot. It: The call is appended to /var/log/go/dynadot.log. Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.

Quick start

# 1. Save your Dynadot API key (the key must come first)
/go/dynadot <api-key> --setup

# 2. Publish the records for a domain
/go/dynadot example.com

Options

Argument Notes
<api-key> Your Dynadot API key. Must be the first argument when used with --setup; the first argument is what gets saved.
--setup Saves the key and exits. Found anywhere in the command line.
<domain> The full domain name. It must be registered or managed in your Dynadot account.

Examples

# Save the API key
/go/dynadot AbC123YourDynadotKey --setup

# Main domain
/go/dynadot example.com

# Subdomain
/go/dynadot shop.example.com

Output

The command prints the Dynadot API response (an XML document) followed by an empty line. It does not read the response, so check it yourself for errors.

See the full reference at /go/dynadot and the GoAdmio command index.

GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.

By:

Posted in:


Leave a Reply

Your email address will not be published. Required fields are marked *