jung-geun 78937e5c3f Refactor file paths in Makefile, run_script.sh, and start.sh
Update cronjob schedule and default_env.json, Add CLOUDFLARE_CNAME configuration
Update cronjob schedule and default_env.json, Add CLOUDFLARE_CNAME configuration
Update cronjob schedule and default_env.json
Add GitLab CI configuration for SonarQube analysis
Delete unused files from .dockerignore
Update cronjob schedule in cron/cronjob
Update default_env.json with CLOUDFLARE_A configuration
Update logging format in update_dns.py
Update load_config function in update_dns.py
Update get_config function in update_dns.py
Update get_ip function in update_dns.py
Update read_record function in update_dns.py
Update create_record function in update_dns.py
Update update_record function in update_dns.py
Update delete_record function in update_dns.py
Update update_a_list function in update_dns.py
Update update_cname_list function in update_dns.py
Update main function in update_dns.py
2024-09-15 17:54:06 +00:00
2024-09-01 03:26:24 +09:00
2024-09-01 03:26:24 +09:00
2024-09-02 20:22:04 +00:00
2024-09-01 03:26:24 +09:00

Cloudflare DDNS Project

This project aims to implement a Dynamic DNS (DDNS) solution using Cloudflare's API.

Maintainability Rating

Overview

Dynamic DNS allows you to associate a domain name with a changing IP address, making it easier to access your network resources remotely. Cloudflare's API provides the necessary tools to automate this process.

Prerequisites

Before getting started, make sure you have the following:

  • A Cloudflare account
  • A registered domain name
  • API credentials from Cloudflare

Installation

To install and set up the project, follow these steps:

  1. Clone the repository: git clone https://github.com/jung-geun/cloudflare-ddns.git
  2. Deploy the project to a server or cloud platform:
    • You can deploy the project to a server or cloud platform of your choice.
    • Make sure to install the necessary dependencies by running 'make install'
  3. Configure the project:
    • Create a configuration file named config.json in the initial 'make configure' will create a configuration file with default settings.
    • Add your Cloudflare API credentials and domain information to the configuration file.

Usage

Once the project is up and running, it will periodically check for IP address changes and update the DNS records accordingly. You can customize the update frequency and other settings in the configuration file.

Contributing

Contributions are welcome! If you have any suggestions or improvements, feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

기여하기

기여는 환영합니다! 제안이나 개선 사항이 있으시면 이슈를 열거나 풀 리퀘스트를 제출해 주세요.

라이선스

이 프로젝트는 MIT 라이선스로 배포됩니다. 자세한 내용은 LICENSE 파일을 참조하세요.

Description
cloudflare 를 이용한 ddns 구현
Readme MIT 121 KiB
Languages
Python 70%
Shell 22.5%
Dockerfile 4.7%
Makefile 2.8%