initial setup

This commit is contained in:
2024-01-11 17:42:18 +01:00
parent 77695c2f82
commit 0d5d671c5c
2 changed files with 81 additions and 0 deletions

30
config.yaml Normal file
View File

@@ -0,0 +1,30 @@
providers:
config:
class: octodns.provider.yaml.YamlProvider
directory: ./config
default_ttl: 3600
enforce_order: True
kluster:
class: octodns_ddns.DdnsSource
cloudflare:
class: octodns_cloudflare.CloudflareProvider
# Your Cloudflare account email address (required, optional if using token)
email: env/CLOUDFLARE_EMAIL
# The API Token or API Key.
# Required permissions for API Tokens are Zone:Read, DNS:Read and DNS:Key.
token: env/CLOUDFLARE_TOKEN
# Optional. Filter by account ID in environments where a token has access
# across more than the permitted number of accounts allowed by Cloudflare.
account_id: env/CLOUDFLARE_ACCOUNT_ID
zones:
'moll.re':
sources:
- config # sets all other records
- kluster # sets kluster.moll.re
targets:
- cloudlfare