arsys-dns
v1.0.0
Published
CLI client for Arsys DNS SOAP API
Readme
Arsys DNS CLI
- Unofficial Node.js CLI for the Arsys DNS SOAP API.
- Provides commands to manage DNS records for domains hosted on Arsys.
- Supports listing, creating, updating and deleting DNS records.
Usage
Info
- Lists all DNS records for a given domain.
- Can be filtered by "dns" record name, "type" and "value" (exact match).
arsys-dns info --username <user> --apikey <key> --domain <domain> --dns <dns> --type <type> --value <value>Delete
- Deletes a DNS record matching the specified criteria.
- Requires exact match of "dns" record name, "type" and "value".
arsys-dns delete --username <user> --apikey <key> --domain <domain> --dns <dns> --type <type> --value <value>Create
- Creates a new DNS record with the specified "dns" record name, "type" and "value".
arsys-dns create --username <user> --apikey <key> --domain <domain> --dns <dns> --type <type> --value <value>Update
- Updates an existing DNS record matching the specified criteria.
- Requires exact match of "dns" record name, "type" and "value" to identify the record to update.
- New values for "type" and "value" can be specified with
--newtypeand--newvalueoptions.
arsys-dns update --username <user> --apikey <key> --domain <domain> --dns <dns> --currenttype <type> --currentvalue <value> --newtype <type> --newvalue <value>Login
- Login to the Arsys DNS API using your username and API key.
- API key can be found in the Arsys control panel under "API Access".
- Username will be name of the domain, e.g.
example.com. - Each domain will have its own API key.
Installation
- Install the CLI globally using npm.
npm install -g arsys-dns-cli- Alternatively, clone the repository and run the executable directly.
- Add the
bindirectory to your PATH or call the script vianode bin/arsys-dns.js.
License
- The code is licensed under the MIT License. See LICENSE file for details.
