Skip to content

Keep a Cloudflare DNS record up to date with your dynamic public IP

License

Notifications You must be signed in to change notification settings

rkoberholtz/cloudflare_dyndns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

This project lives at https://gitlab.rickelobe.com

Description

Use this script to keep a CloudFlare DNS record up to date with your current public IP address.

When executed, the script will perform a lookup on the DNS record and compare the result with your current public IP. If the record does not match your current IP, the record will be updated using Cloudflare's API.

Prerequisites

  • Cloudflare managed DNS and Account
  • Linux host to run the script within your network

Example Output:

root@www:/Scripts# ./dns_updater.sh
20210715-121018|Record IP: <REDACTED>|Pub IP: <REDACTED>|CF Update: Skipped

About

Keep a Cloudflare DNS record up to date with your dynamic public IP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages