Skip to content

joelpatel/cloudflare-ddns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloudflare Dynamic DNS

Script written in Go to update DNS Record's IP address.
Helpful for folks wanting to expose their home servers to the internet without static IP via Cloudflare DNS.

Usage

  • Build Docker image.
docker build --tag cloudflare-ddns .
  • Start a container with required env variables.
    • NOTE: For better security pass an env file using --env-file flag in the docker run command.
CLOUDFLARE_API_TOKEN=xxxxxxxx \
ZONE_ID=xxxxxxxx \
docker run -d --name cloudflare-ddns \
-e CLOUDFLARE_API_TOKEN \
-e ZONE_ID \
-e RECORD_NAME=xxxxxxxx \
--restart unless-stopped \
cloudflare-ddns

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors