theADAMJR / agis

Cloudflare Dynamic DNS records for when your IP changes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Agis

Cloudflare Dynamic IP Change

Auto update Cloudflare DNS A records, to the new IP, when it unexpectedly changes.

This will increase website uptime if hosting locally.

Create .env:

CLOUDFLARE_EMAIL=""
CLOUDFLARE_TOKEN=""

Create config.json:

  "cloudflare": {
    "endpoint": "https://api.cloudflare.com/client/v4",
    "zones": [
      ["example.com", "cloudflare-zone-id"]
    ],
    "checkInterval": 60000
  }
}

About

Cloudflare Dynamic DNS records for when your IP changes.

License:MIT License


Languages

Language:TypeScript 100.0%