Browse Source

Merge branch 'master' of http://gitlab.no/rune/dyndns

master
rune 2 years ago
parent
commit
ecf76c476f
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      readme.md

+ 4
- 2
readme.md View File

@@ -2,12 +2,14 @@
DYNDNS is a small Node CLI (command line) app that updates DNS records on you Digital Ocean account.

### Installation
Clone this repo with `git clone https://gitlab.no/rune/dyndns.git` edit the `config.json` file with your information. To get your API key, log in to your Digital Ocean account and click the API link at the top of the page. Follow the instructions!
Clone this repo with `git clone https://gitlab.no/rune/dyndns.git`. To get your API key, log in to your Digital Ocean account and click the API link at the top of the page. Follow the instructions! Edit the `config.json` file with your information.

If you don't know your subdomains ID, just fill in the parts with `api_key` and `name` and install as described below. The `name` parameter is the top level domain name, eg. `example.com`.
If you don't know your subdomains ID, just fill in the parts with `api_key` and `name`. Install with `npm install -g`. The `name` parameter is the top level domain name, eg. `example.com`.

Then run the app `dyndns --config "/path/to/your/config.json" --list`

Depending on your operating system, the config file and the path to it should be either inside quotation marks or not.

You will get a JSON looking something like this:


Loading…
Cancel
Save