1
Fork 0
Simple Docker container that updates DNSimple with your IPv4 and IPv6 address.
This repository has been archived on 2024-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2024-02-20 10:20:01 -08:00
ddns.sh fix: wrong envvar ; => 2024-02-20 10:19:41 -08:00
Dockerfile Add Dockerfile 2024-01-08 02:27:50 +00:00
LICENSE fix: bungled licensor/licensee (?) 2024-02-20 10:19:22 -08:00
README.md chore: improve documentation ; closes #1 2024-02-20 10:20:01 -08:00

dnsimple-ddns-docker

Simple Docker container that updates DNSimple with your IPv4 and IPv6 addresses.

Usage

You need to set the following environment variables :

  • OAUTH_TOKEN : Your DNSimple OAUTH token. You can make one by logging into DNSimple, clicking Account -> Access Tokens. You can also find your account ID here.
  • ACCOUNT_ID : Your DNSimple Account ID. See instructions above.
  • ZONE_ID : The domain name of the zone
  • RECORD_ID : The ID for the record you want. You can find this by adding the record and then clicking "Edit". It will be the numbers after /records/ (ex. https://dnsimple.com/a/user_id/domains/lmao.ch/records/123456789/edit has a record ID of 123456789, account ID of 145030 and a zone ID of lmao.ch)
  1. docker build -t dnsimple-ddns .
  2. docker run --rm -it dnsimple-ddns

Ideally, instead of running it everytime you end up needing it, setup a Cron job like : 0 0 1,15 * 0 docker run --rm -it dnsimple-ddns (every two-ish weeks at midnight).