mirror of
https://github.com/vhaudiquet/homeprod.git
synced 2026-04-14 14:05:06 +00:00
dns: add dns-as-code files and workflows
This commit is contained in:
16
dns/config/production.yaml
Normal file
16
dns/config/production.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
providers:
|
||||
config:
|
||||
class: octodns.provider.yaml.YamlProvider
|
||||
directory: ./production
|
||||
default_ttl: 3600
|
||||
enforce_order: True
|
||||
cloudflare:
|
||||
class: octodns_cloudflare.CloudflareProvider
|
||||
token: env/CLOUDFLARE_TOKEN
|
||||
|
||||
zones:
|
||||
'*':
|
||||
sources:
|
||||
- config
|
||||
targets:
|
||||
- cloudflare
|
||||
Reference in New Issue
Block a user