Skip to content
This repository was archived by the owner on Dec 20, 2024. It is now read-only.

Simple script written in python that allows you to assign domain to changing IP address using Cloudflare API.

License

Notifications You must be signed in to change notification settings

jedrzejme/DynamicDNSUsingCloudflare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Icon
Dynamic DNS using Cloudflare


❓ What is this? Simple script written in python that allows you to assign domain to changing IP address.

❓ How to use it?

❓ What did I use?

🐳 Using docker-compose to run Dynamic DNS using Cloudflare

  1. Install Docker, docker-compose and Git
  2. Clone this repository and enter its directory:
git clone https://github.com/jedrzejme/DynamicDNSUsingCloudflare.git
  1. Create docker image:
docker build -t dynamic-dns-using-cloudflare .
  1. Edit config.ini according to wiki (you don't have to stop docker container, while making some changes in future)
  2. Run docker-compose:
docker-compose up -d
  1. It works!

🐍 Using Python to run Dynamic DNS using Cloudflare

  1. Install Python and Git
  2. Clone this repository and enter its directory:
git clone https://github.com/jedrzejme/DynamicDNSUsingCloudflare.git
  1. Install requirements:
python -m pip install -r requirements.txt
  1. Edit config.ini according to wiki (you don't have to stop docker container, while making some changes in future)
  2. Run main.py:
python main.py
  1. It works!

🚀 Features

  • Assigning domain to changing IP address using Cloudflare DNS records
  • Running every now and then defined by user
  • Config file; learn more in the wiki

❓ Purpose

Assigning domain to changing IP address. Changing IP address is commonly occurring at home.

❗ Other informations

This project is not created by Cloudflare Inc., but it uses Cloudflare Inc. API to edit DNS zones.

💲 Support

jedrzejme

About

Simple script written in python that allows you to assign domain to changing IP address using Cloudflare API.

Topics

Resources

License

Stars

Watchers

Forks