Skip to content

Cloudflare DynDNS Updater to automatically update DNS records

Notifications You must be signed in to change notification settings

TobiasGrether/CF-DynDNS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Cloudflare & DynDNS

Good for everyone who wants to use Cloudflare with their local ip but has a changing ip address.

Config

# Your cloudflare api token
apiToken: ""
# Your cloudflare email (required for auth)
cfEmail: ""
# The zoneId of the zone you want to update (Can be seen on the right of the domain dashboard)
zoneId: ""
dnsRecords:
  - name: "myendpoint.example.com"
    type: "A"

This project uses Cloudflare APIs only. It uses cloudflares cgi tracing endpoint to resolve the current public address and then handles changes accordingly.

How to run

  • Build with maven (java 8)
  • Run on a machine like a server or a Raspberry Pi
  • start once, edit configuration
  • start again

Motivation

This is a simple project used by f.e. our smart home endpoints, nginx web server etc.

Mental support provided by @iTzFreeHD

About

Cloudflare DynDNS Updater to automatically update DNS records

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages