mirror of
https://github.com/tunix/digitalocean-dyndns
synced 2024-11-16 21:45:25 +00:00
Merge branch 'master' of github.com:tunix/digitalocean-dyndns
* 'master' of github.com:tunix/digitalocean-dyndns: Update README.md Update README.md
This commit is contained in:
commit
d4630ffd6a
1 changed files with 7 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
# 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
|
||||
|
||||
|
@ -19,7 +19,12 @@ Pick one of the options below using the following settings:
|
|||
|
||||
```
|
||||
$ docker pull tunix/digitalocean-dyndns
|
||||
$ docker run -d --name dyndns -e DIGITALOCEAN_TOKEN="your_token_here" -e DOMAIN="yourdomain.com" -e NAME="subdomain" -e SLEEP_INTERVAL=2 tunix/digitalocean-dyndns
|
||||
$ docker run -d --name dyndns \
|
||||
-e DIGITALOCEAN_TOKEN="your_token_here" \
|
||||
-e DOMAIN="yourdomain.com" \
|
||||
-e NAME="subdomain" \
|
||||
-e SLEEP_INTERVAL=2 \
|
||||
tunix/digitalocean-dyndns
|
||||
```
|
||||
|
||||
### Manual
|
||||
|
|
Loading…
Reference in a new issue