All Projects → tunix → digitalocean-dyndns

tunix / digitalocean-dyndns

Licence: other
Dynamic DNS using DigitalOcean's DNS Services

Programming Languages

shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to digitalocean-dyndns

Trust Dns
A Rust based DNS client, server, and resolver
Stars: ✭ 2,155 (+3267.19%)
Mutual labels:  dynamic-dns
docker-ddns-cloudflare
Cloudflare DDNS Script
Stars: ✭ 21 (-67.19%)
Mutual labels:  dynamic-dns
route53-dynamic-dns
Update AWS Route53 hosted zone with current public IP address. Alternative to Dynamic DNS services such as Dyn, No-IP, etc
Stars: ✭ 29 (-54.69%)
Mutual labels:  dynamic-dns
ovh-dynhost
A command line script to update a OVH DynHost with your current public ip. (This repo is a mirror. Official one: https://gitlab.com/rubendibattista/ovh-dynhost)
Stars: ✭ 12 (-81.25%)
Mutual labels:  dynamic-dns
ddns
Simple restful dynamic DNS service
Stars: ✭ 25 (-60.94%)
Mutual labels:  dynamic-dns
python-dyndnsc
dynamic dns (dyndns) update client with support for multiple protocols
Stars: ✭ 36 (-43.75%)
Mutual labels:  dynamic-dns
python-ddns
A self-hosted dynamic DNS service using BIND9 and python.
Stars: ✭ 26 (-59.37%)
Mutual labels:  dynamic-dns
DnsTube
Access your computer from anywhere. DnsTube is a Windows .NET dynamic DNS client for Cloudflare.
Stars: ✭ 137 (+114.06%)
Mutual labels:  dynamic-dns
Vultr-Dynamic-DNS
Dynamically update IP addresses in Vultr DNS without services like No-IP
Stars: ✭ 18 (-71.87%)
Mutual labels:  dynamic-dns
dynamic-dns-netcup-api
A simple dynamic DNS client written in PHP for use with the netcup DNS API.
Stars: ✭ 127 (+98.44%)
Mutual labels:  dynamic-dns
tinydnsdyn
[mirror] Dynamic DNS for djbdns or tinydns
Stars: ✭ 18 (-71.87%)
Mutual labels:  dynamic-dns
dynamic-cloud-dns
Dynamic DNS with Google Cloud Functions
Stars: ✭ 30 (-53.12%)
Mutual labels:  dynamic-dns
DynamicDNS
基于DNSPod构建的DDNS软件
Stars: ✭ 21 (-67.19%)
Mutual labels:  dynamic-dns

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. The resulting container image is roughly around 7 MB (thanks to Alpine Linux).

Setup

Assuming you already have a DigitalOcean account and your domain associated with it. Just add an A record with desired name and IP address. That's it!

Usage

Pick one of the options below using the following settings:

  • DIGITALOCEAN_TOKEN: The token you generate in DigitalOcean's API settings.
  • DOMAIN: The domain your subdomain is registered at. (i.e. foo.com for home.foo.com)
  • NAME: Subdomain to use. (name in A record) (i.e. home for home.foo.com). Multiple subdomains must be separated by semicolons ;
  • SLEEP_INTERVAL: Polling time in seconds. (default: 300)
  • REMOVE_DUPLICATES: If set to "true", removes extra DNS records if more than one A record is found on a subdomain. Note that if this is not enabled, the script will NOT update subdomains with more than one A record (default: false)

Docker (Recommended)

$ 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 \
    -e REMOVE_DUPLICATES="true" \
    tunix/digitalocean-dyndns

Manual

You can also create a cronjob using below command:

$ DIGITALOCEAN_TOKEN="your_token_here" DOMAIN="yourdomain.com" NAME="subdomain" SLEEP_INTERVAL=2 ./dyndns.sh
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].