Skip to content

Adds/Updates Cloudflare DNS entries for the purpose of DDNS

Notifications You must be signed in to change notification settings

zenstrukt/cloudflare-ddns-updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Cloudflare DDNS Updater - For PowerShell users

Adds/Updates Cloudflare DNS entries for the purpose of DDNS using PowerShell. PowerShell can also be installed onto your Nix flavour of choice and scheduled with crontab.

Pre-requisites

  1. A domain name
  2. Cloudflare (free tier)
  3. A place to execute the code from within your network (anything that can run PowerShell)

Installation

git clone https://github.com/zenstrukt/cloudflare-ddns-updater.git

Usage

This script is used with Task Scheduler in Windows, or crontab in Linux. Specify the frequency of execution, and you're done!

Import-Module Update-Cloudflare-DDNS.psm1

Update-CloudFlareDynamicDns -Token <# ReplaceWith_Cloudflare_Token #> -Email <# ReplaceWith_Cloudflare_Email #> -Zone <# ReplaceWith_DomainName #> -Record <# ReplaceWith_RecordName #>

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

About

Adds/Updates Cloudflare DNS entries for the purpose of DDNS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published