Skip to content

Updates Cloudflare DNS records with current IP address of your device.

License

Notifications You must be signed in to change notification settings

alperensert/cloudflare-dnsync

Repository files navigation

cloudflare-dnsync

Cloudflare Dnsync is a basic CLI tool for updating Cloudflare dns records to the latest ip of your device.

Installation

dotnet tool install cloudflare-dnsync --global

Available Commands

  • Synchronize all out-dated records: cloudflare-dnsync sync
  • Add new dns record to the configuration: cloudflare-dnsync config add
  • Remove a dns record from the configuration: cloudflare-dnsync config rm
  • List dns record configurations: cloudflare-dnsync config ls

Planned features

  • Docker support
  • IPv6 support
  • Customizable external IP address providers
  • Automatic configuration setup based on dns records comments

Motivation

I purchased a Bee-Link Mini S12 to serve as my home server. Despite being unable to obtain a static IP address from my internet provider, I developed this project as a CLI tool to automatically update my DNS records.

Licensing

cloudflare-dnsync is under MIT license.