Octodns: Difference between revisions
imported>Onny Add example usage |
m Category:DNS added |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 27: | Line 27: | ||
directory: ./config | directory: ./config | ||
default_ttl: 3600 | default_ttl: 3600 | ||
enforce_order: | # Records in the zone config don't have to be sorted alphabetically | ||
enforce_order: False | |||
gandi: | gandi: | ||
class: octodns_gandi.GandiProvider | class: octodns_gandi.GandiProvider | ||
token: env/GANDI_TOKEN | |||
zones: | zones: | ||
Line 52: | Line 53: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
GANDI_TOKEN=1234 octodns-sync --config config.yaml --doit | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 58: | Line 59: | ||
* Use OctoDNS as a NixOS module and declare DNS setup declarative https://github.com/Janik-Haag/NixOS-DNS | * Use OctoDNS as a NixOS module and declare DNS setup declarative https://github.com/Janik-Haag/NixOS-DNS | ||
* [[Dnscontrol]], tool to synchronize your DNS to multiple providers from a simple DSL | |||
[[Category:Applications]] | |||
[[Category:Server]] | |||
[[Category:Networking]] | |||
[[Category:DNS]] |