mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Add documentation for zones aliases
This commit is contained in:
@@ -79,6 +79,9 @@ zones:
|
||||
targets:
|
||||
- dyn
|
||||
- route53
|
||||
|
||||
example.net:
|
||||
alias: example.com.
|
||||
```
|
||||
|
||||
`class` is a special key that tells OctoDNS what python class should be loaded. Any other keys will be passed as configuration values to that provider. In general any sensitive or frequently rotated values should come from environmental variables. When OctoDNS sees a value that starts with `env/` it will look for that value in the process's environment and pass the result along.
|
||||
@@ -87,6 +90,8 @@ Further information can be found in the `docstring` of each source and provider
|
||||
|
||||
The `max_workers` key in the `manager` section of the config enables threading to parallelize the planning portion of the sync.
|
||||
|
||||
In this example, `example.net` is an alias of zone `example.com`, which means they share the same sources and targets. They will therefore have identical records.
|
||||
|
||||
Now that we have something to tell OctoDNS about our providers & zones we need to tell it about or records. We'll keep it simple for now and just create a single `A` record at the top-level of the domain.
|
||||
|
||||
`config/example.com.yaml`
|
||||
|
Reference in New Issue
Block a user