Skip to content

jnatten/domeneshop-ddns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

176 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

domeneshop-ddns

A simple script to update a DNS record on Domeneshop.

Usage

Docker

docker run --name domeneshop-ddns \
  -d \
  -e DOMENESHOP_TOKEN=<your_token> \
  -e DOMENESHOP_SECRET=<your_secret> \
  -e DDNS_DOMAINS=<your_domains> \
  jnatten/domeneshop-ddns:0.1.1

Docker compose

version: '3'
services:
  domeneshop-ddns:
    container_name: domeneshop-ddns
    image: jnatten/domeneshop-ddns:0.1.1
    environment:
      - DOMENESHOP_TOKEN=<your_token>
      - DOMENESHOP_SECRET=<your_secret>
      - DDNS_DOMAINS=<your_domains>
    restart: always

Manual

cargo run

Configuration

The application is configured using environment variables. These are the same whether you are running the application in a container or manually.

Variable Description Required
DOMENESHOP_TOKEN The token for the Domeneshop API. Can be created on your admin page. Yes
DOMENESHOP_SECRET The secret for the Domeneshop API. Can be created on your admin page. Yes
DDNS_DOMAINS A comma separated list of domains to update. Yes
SLEEP_INTERVAL_SECONDS The interval in seconds to update the DNS records. Default is 60. No
MYIP The IP address to update the DNS records to. Default is the public IP of the host. No

About

Automatically update dns records for domene.shop domains

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors