https://github.com/tutv/cf-dns
CloudFlare DNS Updater
https://github.com/tutv/cf-dns
Last synced: about 1 year ago
JSON representation
CloudFlare DNS Updater
- Host: GitHub
- URL: https://github.com/tutv/cf-dns
- Owner: tutv
- Created: 2018-06-04T06:55:11.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-04T08:08:55.000Z (about 8 years ago)
- Last Synced: 2025-02-04T21:45:40.613Z (over 1 year ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CloudFlare DNS Updater
Automatically update your IP to CloudFlare DNS.
## Config
Create `.env` file with content:
```
CF_EMAIL=your@email.com
CF_API_KEY=cloudflare_api
CF_ZONE_ID=zone_id
CF_DNS=record.domain.com|another.domain.com
```
## Installation
```
//with npm
npm install
//or yarn
yarn
```
## Run now
```
node index.js
// Using pm2
pm2 start index.js --name your-name-app
```