1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00
Commit Graph

48 Commits

Author SHA1 Message Date
Viranch Mehta
49bff426b7 Multi-value PTR records 2021-08-12 21:43:01 -07:00
Brian E Clow
9be1195d47 SplitYAML testing 2021-07-22 14:32:09 -07:00
Brian E Clow
c5efba89fe Adding yaml support and testing for URLFWD 2021-07-22 14:32:09 -07:00
Ross McFarland
c3f0bf677a Validate processor config sections 2021-06-23 18:49:19 -07:00
Ross McFarland
716d068196 Backwards compat for plan overrides, 100% manager coverage, singular processor module name 2021-04-27 06:45:18 -07:00
Ross McFarland
e90aeb5d34 pools used as fallbacks should count as seen 2021-04-22 18:45:14 -07:00
Christian Funkhouser
2075550f07 Test that Manager passes fh to _PlanOutputs 2021-04-07 18:21:34 -04:00
Ross McFarland
5e1f653848 Merge remote-tracking branch 'origin/master' into srv_null_records 2021-02-18 07:52:47 -08:00
Mark Tearle
45d5da23cf Add NULL SRV record examples to unit tests 2021-02-15 21:24:53 +08:00
Mark Tearle
9d4bd0aaec Add support for LOC records 2021-02-09 20:41:37 +08:00
Ross McFarland
4ce2563d2e Remove the rest of the . ending files, clean up code and tests for better coverage 2021-01-28 13:24:35 -08:00
Jonathan Leroy
2d4855508c Check that an alias zone source is not an alias zone 2020-11-01 23:58:40 +01:00
Jonathan Leroy
b0da090723 Add test for alias zones 2020-10-31 14:09:54 +01:00
Jonathan Leroy
04a2d7a585 Merge branch 'master' into zones-aliases 2020-10-28 16:24:40 +01:00
Jonathan Leroy
eec4c4f81c Remove support for dynamic DNAME records as no provider currently
support them
2020-10-27 20:31:57 +01:00
Jonathan Leroy
de51e5f531 Add support for DNAME records 2020-10-26 22:18:35 +01:00
Jonathan Leroy
f2a6f870b4 Make each alias zone reference its target zone instead of listing all
aliases zones in the target zone configuration
2020-10-20 22:18:48 +02:00
Jonathan Leroy
7bf0b31367 Revert "Add support for zones aliases"
This reverts commit b926d78c5c.
2020-10-20 19:54:35 +02:00
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.
2020-08-03 00:47:22 +02:00
Ross McFarland
aa58631dcd Validate dynamic rules do not reuse pools 2020-03-20 13:15:14 -07:00
Ross McFarland
41dd72f1fb Merge remote-tracking branch 'origin/master' into overriding-yaml-provider 2020-01-06 13:41:27 -08:00
Ross McFarland
db8de8acb8 Fix Manager ordering assumptions 2019-10-07 08:41:28 -07:00
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.
2019-07-16 06:14:45 -07:00
Ross McFarland
135f826b7e Add OverridingYamlProvider and tests 2019-04-27 15:08:09 -07:00
Christian Funkhouser
ceece68de8 Persist empty. zone
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
2019-04-08 13:59:45 -04:00
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>
2019-04-08 13:59:45 -04:00
Christian Funkhouser
8639bc0af5 Actually fix tests, include YAML
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
2019-04-08 13:59:45 -04:00
Ross McFarland
f1d5808ddc Heh, apparently there were some invalid Geo codes in tests 2018-12-10 13:05:21 -08:00
Ross McFarland
ccd9038a38 Impliment Dynamic rule geo validation 2018-12-05 16:42:38 -08:00
Ross McFarland
e16648ab1f Progress towards fully fleshed out pools & rules 2018-12-05 16:28:41 -08:00
Ross McFarland
b650013ccb Add a AAAA dyanmic.tests example, comments 2018-12-03 15:03:53 -08:00
Ross McFarland
0e0e995436 AaaaRecord and CnameRecord should implement _DynamicMixin, fix validate params 2018-12-03 14:54:22 -08:00
Ross McFarland
70c35aac26 WIP implementation of dyanmic pools & rules validation 2018-12-03 14:28:30 -08:00
Ross McFarland
2829862ea5 Major refactoring of record validation to better support (planned) complex/dynamic record types 2018-11-29 15:15:12 -08:00
Ross McFarland
c41824c3e9 Better weighting support 2018-11-28 09:41:25 -08:00
Ross McFarland
92b025fe1a Support for weights of pools 2018-11-28 09:22:09 -08:00
Ross McFarland
9d45386f4d Sketch of new dynamic record config in unit.tests. 2018-11-28 09:01:07 -08:00
Ross McFarland
3d0f5aeca0 Config-based plan_output
Refactors the provider class lookup and kwarg processing so that it can be
reused for plan_output.
2017-12-02 11:40:55 -08:00
Paul van Brouwershaven
4b41762642 Use target.id instead of class name 2017-09-29 10:09:16 +02:00
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
2017-09-28 15:16:39 +02:00
Ross McFarland
c24c793bcb CAA unit tests for provider support 2017-08-26 15:28:09 -07:00
Ross McFarland
1340aee8a9 MX RFC1035 - priority -> preference & value -> exchange 2017-06-23 13:04:38 -07:00
Ross McFarland
80b06b726c Merge branch 'master' into ignored-record-support 2017-06-09 06:22:37 -07:00
Ross McFarland
7e0730ea1b Helps if I add the new config file 2017-06-08 18:45:47 -07:00
Ross McFarland
ff2fec72d8 Add support for ignored records.
```yaml
ignored:
  octodns:
    ignored: true
  type: A
  value: 1.2.3.4
```
2017-06-04 19:03:38 -07:00
zBart
bc98af024b Handle Cloudflare not escaping semicolons 2017-05-03 12:46:42 +02:00
Ross McFarland
377bda4f9c Implement simplistic planning concurrency, by zone 2017-03-27 14:39:50 -07:00
Ross McFarland
7957a4c018 Initial import of OSS OctoDNS 2017-03-15 15:38:10 -07:00