-
-
Notifications
You must be signed in to change notification settings - Fork 0
Config
Jędrzej Bakalarski edited this page Jan 22, 2026
·
2 revisions
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 asA(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 (1for Auto) -
PROXIED– whether the DNS record should be proxied through Cloudflare (TrueorFalse) -
COMMENT– optional comment for the record