Ross McFarland
c3f0bf677a
Validate processor config sections
5 years ago
Ross McFarland
716d068196
Backwards compat for plan overrides, 100% manager coverage, singular processor module name
5 years ago
Ross McFarland
e90aeb5d34
pools used as fallbacks should count as seen
5 years ago
Christian Funkhouser
2075550f07
Test that Manager passes fh to _PlanOutputs
5 years ago
Mark Tearle
45d5da23cf
Add NULL SRV record examples to unit tests
5 years ago
Mark Tearle
9d4bd0aaec
Add support for LOC records
5 years ago
Ross McFarland
4ce2563d2e
Remove the rest of the . ending files, clean up code and tests for better coverage
5 years ago
Jonathan Leroy
2d4855508c
Check that an alias zone source is not an alias zone
5 years ago
Jonathan Leroy
b0da090723
Add test for alias zones
5 years ago
Jonathan Leroy
eec4c4f81c
Remove support for dynamic DNAME records as no provider currently
support them
5 years ago
Jonathan Leroy
de51e5f531
Add support for DNAME records
5 years ago
Jonathan Leroy
f2a6f870b4
Make each alias zone reference its target zone instead of listing all
aliases zones in the target zone configuration
5 years ago
Jonathan Leroy
7bf0b31367
Revert "Add support for zones aliases"
This reverts commit b926d78c5c .
5 years ago
Jonathan Leroy
b926d78c5c
Add support for zones aliases
This commit adds support for zones aliases. This allows to define one or
multiple zone as aliases of an existing zone without using workarounds
like simlinks and miltiple "zones" entries in the configuration file.
An alias zone is share all of its content with it parent zone, only the
name of the zone is different.
```
zones:
example.com.:
aliases:
- example.net.
- example.org.
sources:
- in
targets:
- out
```
Known issues:
- No documentation,
- Only the `octodns-sync` and `octodns-validate` commands supports
aliases zones at this time,
I added a loop in the manager init function which convert all alias
zone to "real" ones during config validation, however I'm not sure
this is the right approach. Comments welcome.
5 years ago
Ross McFarland
aa58631dcd
Validate dynamic rules do not reuse pools
6 years ago
Ross McFarland
db8de8acb8
Fix Manager ordering assumptions
6 years ago
Ross McFarland
003e8651ce
Drop dynamic record value weight to 0-16
That's all Dyn supports and it's cleaner to match it than to scale dyn since
we'd lose precision we can't get back during populate.
7 years ago
Ross McFarland
135f826b7e
Add OverridingYamlProvider and tests
7 years ago
Christian Funkhouser
ceece68de8
Persist empty. zone
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
7 years ago
Christian Funkhouser
98dacd2dde
Add proper tests for SplitYamlProvider
The SplitYamlProvider itself now requires a directory matching the
zone name under its directory to contain all YAML files. This doesn't
actually change the intended usage at all, just how the configuration
file is laid out.
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
7 years ago
Christian Funkhouser
8639bc0af5
Actually fix tests, include YAML
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
7 years ago
Ross McFarland
f1d5808ddc
Heh, apparently there were some invalid Geo codes in tests
7 years ago
Ross McFarland
ccd9038a38
Impliment Dynamic rule geo validation
7 years ago
Ross McFarland
e16648ab1f
Progress towards fully fleshed out pools & rules
7 years ago
Ross McFarland
b650013ccb
Add a AAAA dyanmic.tests example, comments
7 years ago
Ross McFarland
0e0e995436
AaaaRecord and CnameRecord should implement _DynamicMixin, fix validate params
7 years ago
Ross McFarland
70c35aac26
WIP implementation of dyanmic pools & rules validation
7 years ago
Ross McFarland
2829862ea5
Major refactoring of record validation to better support (planned) complex/dynamic record types
7 years ago
Ross McFarland
c41824c3e9
Better weighting support
7 years ago
Ross McFarland
92b025fe1a
Support for weights of pools
7 years ago
Ross McFarland
9d45386f4d
Sketch of new dynamic record config in unit.tests.
7 years ago
Ross McFarland
3d0f5aeca0
Config-based plan_output
Refactors the provider class lookup and kwarg processing so that it can be
reused for plan_output.
8 years ago
Paul van Brouwershaven
4b41762642
Use target.id instead of class name
8 years ago
Paul van Brouwershaven
11f4359099
Add support for included and excluded records
`Included` and `Excluded` can be used to filter records for one or more specific provider(s). This can be extremely useful when certain record types are not supported by a provider and you want only that provider to receive an alternative record.
See also: https://github.com/github/octodns/issues/26
8 years ago
Ross McFarland
c24c793bcb
CAA unit tests for provider support
8 years ago
Ross McFarland
1340aee8a9
MX RFC1035 - priority -> preference & value -> exchange
9 years ago
Ross McFarland
7e0730ea1b
Helps if I add the new config file
9 years ago
Ross McFarland
ff2fec72d8
Add support for ignored records.
```yaml
ignored:
octodns:
ignored: true
type: A
value: 1.2.3.4
```
9 years ago
zBart
bc98af024b
Handle Cloudflare not escaping semicolons
9 years ago
Ross McFarland
377bda4f9c
Implement simplistic planning concurrency, by zone
9 years ago
Ross McFarland
7957a4c018
Initial import of OSS OctoDNS
9 years ago