Skip to content

Script for servers with dynamic IPs that automatically updates Cloudflare DNS records whenever it changes.

Notifications You must be signed in to change notification settings

activecs/cloudflare-dns-ip-updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloudflare-dns-ip-updater

Node js script for servers with dynamic IPs that automatically updates Cloudflare DNS records whenever it changes.

Main branch workflow

Sample docker-compose

services:
  cloudflare-dns-ip-updater:
    image: deduard/tools:cloudflare-dns-ip-updater-latest
    container_name: cloudflare-dns-ip-updater
    environment:
      - ZONE_ID=REPLACE_ME
      - API_TOKEN=REPLACE_ME
      - RECORD_ID=REPLACE_ME
      - CRON_EXPRESSION=*/5 * * * * // every 5 minutes
    restart: unless-stopped

About

Script for servers with dynamic IPs that automatically updates Cloudflare DNS records whenever it changes.

Resources

Stars

Watchers

Forks

Packages

No packages published