Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maccyber/auto-add-dns-domeneshop
Updates dns records on domeneshop
https://github.com/maccyber/auto-add-dns-domeneshop
Last synced: 29 days ago
JSON representation
Updates dns records on domeneshop
- Host: GitHub
- URL: https://github.com/maccyber/auto-add-dns-domeneshop
- Owner: maccyber
- Created: 2016-09-29T21:44:30.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T05:50:44.000Z (about 1 year ago)
- Last Synced: 2024-04-28T02:36:37.564Z (8 months ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# auto-add-dns-domeneshop
Since domeneshop doesn't have an API, I created a small script to add subdomains with cli.# Features
* Add DNS A-records with default TTL
* It's fugly - (but works for me)# 1. Run from host
## Install
```sh
npm run setup
```## Configure
```sh
vim config/index.js
```## Run
For help
```sh
./cli -h
```Run this to update DNS
```sh
./cli.js -i 178.62.210.166 -d testdomain
```
# 2. Run from docker
For help
```sh
docker run -it --rm --entrypoint sh \
-e ROOT_DOMAIN=t-fk.no \
-e [email protected] \
-e PASSWORD=password \
-e ID=100000 \
--name auto-add-dns-domeneshop \
maccyber/auto-add-dns-domeneshop -c "/src/cli.js -h"
```For update DNS
```sh
docker run -it --rm --entrypoint sh \
-e ROOT_DOMAIN=t-fk.no \
-e [email protected] \
-e PASSWORD=password \
-e ID=100000 \
--name auto-add-dns-domeneshop \
maccyber/auto-add-dns-domeneshop -c "/src/cli.js -i 178.62.210.166 -d testdomain"
```