Skip to content

orvice/ddns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Mar 27, 2025
1357ab2 · Mar 27, 2025
Mar 27, 2025
Oct 26, 2024
Dec 10, 2024
Oct 26, 2024
Oct 26, 2024
Oct 26, 2024
Jun 16, 2019
Jul 8, 2021
Oct 23, 2024
Mar 27, 2025
Mar 2, 2018
Jun 16, 2019
Mar 27, 2025
Dec 2, 2018
Mar 27, 2025
Mar 13, 2025

Repository files navigation

ddns

Support dns:

  • cloudflare
  • aliyun

Usage

This application can be configured using environment variables:

Required Environment Variables

  • DOMAIN: The domain name to update
  • DNS_PROVIDER: DNS provider to use (either "cloudflare" or "aliyun")

Provider-specific Variables

Cloudflare

  • CF_TOKEN: Cloudflare API token

Aliyun

  • ALIYUN_ACCESS_KEY_ID: Aliyun Access Key ID
  • ALIYUN_ACCESS_KEY_SECRET: Aliyun Access Key Secret

Optional Telegram Notification

  • TELEGRAM_TOKEN: Telegram bot token
  • TELEGRAM_CHATID: Telegram chat ID for notifications

Example Usage

Using Cloudflare:

DNS_PROVIDER=cloudflare
DOMAIN=example.com
CF_TOKEN=your_cloudflare_token

Using Aliyun:

DNS_PROVIDER=aliyun
DOMAIN=example.com
ALIYUN_ACCESS_KEY_ID=your_access_key_id
ALIYUN_ACCESS_KEY_SECRET=your_access_key_secret

With Telegram notifications:

TELEGRAM_TOKEN=your_bot_token
TELEGRAM_CHATID=your_chat_id