/digitalocean-dns

Automatically update a dns record on DigitalOcean when your IP changes.

Primary LanguagePythonMIT LicenseMIT

digitalocean-dns

Automatically updates an A record on DigitalOcean's DNS when your IP changes.

Usage

docker run -dit -e TOKEN='YOUR_DIGITALOCEAN_API_TOKEN' \
        -e DOMAIN='YOUR_DOMAIN' \
        -e SUBDOMAIN='YOUR_SUBDOMAIN' \
        -e SLEEP='UPDATE_INTERVAL_IN_SECONDS' \
        -e TTL='DNS_TTL_IN_SECONDS' \
        --restart=always \
        --name digitalocean-dns \
        oisann/digitalocean-dns:latest