Skip to content

zingz0r/CloudFlareDnsUpdater

Repository files navigation

CloudFlare DNS Updater Service

This service updates all A records in all zones to the actual external ip.

Build

docker-compose -f docker-compose.yml build

Configure

Add your credentials to docker-compose.yml. It is enough to fill Email and ApiKey or just ApiToken

version: '3.4'

services:
  cloudflarednsupdater:
    image: cloudflarednsupdater
    container_name: cloudflarednsupdater
    build:
      context: .
      dockerfile: CloudFlareDnsUpdater/Dockerfile
    environment:
      - ASPNETCORE_ENVIRONMENT=Production
      - [email protected]
      - CloudFlare__ApiKey=yourApiKey
      # or
      - CloudFlare__ApiToken=yourApiToken
    restart: unless-stopped

Run

docker-compose -f docker-compose.yml up -d

Example output

Output

About

CloudFlareDnsUpdater

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published