Support dns:
- cloudflare
- aliyun
This application can be configured using environment variables:
DOMAIN
: The domain name to updateDNS_PROVIDER
: DNS provider to use (either "cloudflare" or "aliyun")
CF_TOKEN
: Cloudflare API token
ALIYUN_ACCESS_KEY_ID
: Aliyun Access Key IDALIYUN_ACCESS_KEY_SECRET
: Aliyun Access Key Secret
TELEGRAM_TOKEN
: Telegram bot tokenTELEGRAM_CHATID
: Telegram chat ID for notifications
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