1
0
Fork 0
mirror of https://github.com/tunix/digitalocean-dyndns synced 2024-12-22 12:59:52 +00:00

Update README.md

This commit is contained in:
Alper Kanat 2016-01-23 22:23:55 +02:00
parent 69ced23f31
commit 6f635b5bea

View file

@ -1,6 +1,6 @@
# Dynamic DNS using DigitalOcean's DNS Services # Dynamic DNS using DigitalOcean's DNS Services
A script that pushes the public IP address of the running machine to DigitalOcean's DNS API's. It requires an existing A record to update. A script that pushes the public IP address of the running machine to DigitalOcean's DNS API's. It requires an existing A record to update. The resulting container image is roughly around 7 MB (thanks to Alpine Linux).
## Setup ## Setup
@ -20,11 +20,11 @@ Pick one of the options below using the following settings:
``` ```
$ docker pull tunix/digitalocean-dyndns $ docker pull tunix/digitalocean-dyndns
$ docker run -d --name dyndns \ $ docker run -d --name dyndns \
-e DIGITALOCEAN_TOKEN="your_token_here" \ -e DIGITALOCEAN_TOKEN="your_token_here" \
-e DOMAIN="yourdomain.com" \ -e DOMAIN="yourdomain.com" \
-e NAME="subdomain" \ -e NAME="subdomain" \
-e SLEEP_INTERVAL=2 \ -e SLEEP_INTERVAL=2 \
tunix/digitalocean-dyndns tunix/digitalocean-dyndns
``` ```
### Manual ### Manual