Skip to content

This project is a basic bash script to register the current public IP in a DNS using Digital Ocean API.

Notifications You must be signed in to change notification settings

jparadasb/do-dns-updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

do-dns-updater Build Status

About this Image

This container is useful as dynamic DNS, to keep updated the DNS records with the IP assigned by your ISP.

Use the Digital Ocean Network API

How to use

  • Point your domains to Digital Ocean using the nameservers n1.digitalocean.com n2.digitalocean.com n3.digitalocean.com

  • Create the domain in the Networking menu and add a new A Record, take note of the ID.

  • Genetare Personal access tokens in API > Tokens/Keys and store them in a safe place.

  • Run the container with right EVN vars

docker run -e 'DOMAINS_INFO=domain1,domain2,domain3' -e 'RECORDS_IDS=id1,id2,id3' -e 'DO_API_KEY=your_personal_token' -name dns-updater --restart always jparadasb/do-dns-updater:latest

Disclaimer

This container just allow to update one record per domain

About

This project is a basic bash script to register the current public IP in a DNS using Digital Ocean API.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published