Skip to content

Albassel/ddcloudflare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A fast dynamic DNS client written in Rust.

It finds your external ip address through https://cloudflare.com/cdn-cgi/trace and then uses the cloudflare token you provide to update your ip on cloudflare DNS servers dynamically.

Configuration

This is configured using a .env file as follows:

TOKEN="<Your cloudflare token>"
ZONE="<Your cloudflare zone id>"
# A comma separated list of domains you want to update, each matching one of the provided records
DOMAINS="example.com, www.example.com"
# The interval in seconds between updating DNS entries
INTERVAL="70"

The .env file can be provided in the same directory as the binary or passed using command line arguments using the -f path/to/env/file option

Contribution

If you think you can improve this project, feel free to issue a pull request and if the code is of good quality, it will be merged.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages