Updates dns records on domeneshop
431
Since domeneshop doesn't have an API, I created a small script to add subdomains with cli.
npm run setup
vim config/index.js
For help
./cli -h
Run this to update DNS
./cli.js -i 178.62.210.166 -d testdomain
For help
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
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"
Content type
Image
Digest
Size
18.9 MB
Last updated
almost 10 years ago
docker pull maccyber/auto-add-dns-domeneshop