Skip to content
Jędrzej Bakalarski edited this page Jan 22, 2026 · 2 revisions

Config Instructions

When using docker-compose.yml, configure variables in the environment section.
When running the Python script directly, create a .env file in the same directory.

Available variables:

  • RECORD_TYPE - type of DNS record, right now leave it as A (default: A)
  • INTERVAL – number of seconds between each run (default: 300)
  • API_TOKEN – your Cloudflare API token (must have permission to edit DNS)
  • ZONE_IDENTIFIER – the ID of your domain's zone
  • DOMAIN – the domain name
  • NAME – subdomain name (@ for root domain)
  • TTL – Time To Live for the DNS record (1 for Auto)
  • PROXIED – whether the DNS record should be proxied through Cloudflare (True or False)
  • COMMENT – optional comment for the record

Clone this wiki locally