Dynamically update Cloudflare DNS record to provide a persistent addressing method for devices that change their IP address.
- Clone git repository and install npm dependencies:
git clone [email protected]:eymengunay/cloudflare-ddns.git
cd cloudflare-ddns
npm install
-
Set environment variables as per the table below. (you can also use a
.env
file) -
Start application:
npm start
Name | Description | Required |
---|---|---|
CLOUDFLARE_ZONE | DNS Zone ID | Yes |
CLOUDFLARE_RECORD | DNS Record ID | Yes |
CLOUDFLARE_TOKEN | API Token | Yes |