Skip to content

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

jbakalarski/DynamicDNSUsingCloudflare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 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 and docker-compose
  2. Copy docker-compose.yml
  3. Fill it in according to wiki
  4. Run container:
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/jbakalarski/DynamicDNSUsingCloudflare.git
  1. Install requirements:
python -m pip install -r requirements.txt
  1. Create .env and fill it in according to wiki
  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

❓ 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

jbakalarski

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

Sponsor this project