Skip to content

CAG2Mark/DNSUpdater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DNSUpdater

Updates Cloudflare DNS records to the IP of the machine this script is running on.

Usage

Create three files in the working directory:

  • targets: The hostnames to update, separated by a new line. (i.e. homeserver.example.com)
  • token: Your Cloudflare API token.
  • zone: The zone ID of your domain.

Install the required libraries using pip install -r "requirements.txt".

Finally, run python3 main.py.

A systemd .service file is provided if you want to run this as a systemd service.

About

Update Cloudflare DNS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages