Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 655 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 655 Bytes

Cloudflare DDNS

dynamic-ip-update.sh is works for Cloudflare DNS Record Global IP Address update.

  • Support cloudflare API v4
  • Update A record and AAAA record

Requirements

Usage

  • X_AUTH_EMAIL: Email.
  • X_AUTH_KEY: API Key.
  • ZONE: Zone name.
  • DOMAIN: Domain name.
  • DEVICE: Ethernet device.

dynamic-ip-update.sh

$ X_AUTH_EMAIL="[email protected]" \
    X_AUTH_KEY="123abc456def789ghi" \
    ZONE="example.com" \
    DOMAIN="www.example.com" \
    DEVICE="eth0" \
    dynamic-ip-update.sh