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

17 Commits

Author SHA1 Message Date
Ross McFarland
bf4f7dd42d Allow enabling lenient on a per-record basis with octodns.lenient
```
---
'':
    octodns:
        ignored: True
        lenient: True
    type: CNAME # not valid to have a root cname
    value: foo.com.
2017-10-26 06:30:38 -05:00
Ross McFarland
30efda3295 Make long TXT record concat cleaerer 2017-10-09 09:00:15 -07:00
Ross McFarland
70120bedc8 Implement "chunked" TXT/SPF value support for long values
This implements it transparently at Record level. Providers that need things to
be chunked (seems to just be Route53 an Dyn) switch to use `chunked_values`, but
everything else can stick with `values`. I've run through each provider I have
access to verifying that things operate as expected/required. OVH and Azure are
untested.
2017-10-05 10:04:29 -07:00
Ross McFarland
ba6dc9858e Get out of the business of validating CAA records
Seem to be pretty inconsistently implemented/validated across providers so
just shrug and move on.
2017-08-28 13:40:25 -07:00
Ross McFarland
1e68cd6ae9 Add CAA support to Dyn, PowerDNS, and Route53 2017-08-26 09:03:59 -07:00
Ross McFarland
4cae1e2bdb Add CAA Record class and tests 2017-08-26 08:18:17 -07:00
Ross McFarland
4e3cc6b46a SSHFP RFC4255 - validate algorithm & fingerprint_type
- unrecognized wording for invalid values
2017-06-23 13:35:04 -07:00
Ross McFarland
3ce0d71e62 NAPTR RFC2915 - validate flags (partial)
- punting on service, regex & replacement validation for now
- clean up MX a smidge
2017-06-23 13:28:22 -07:00
Ross McFarland
6fc82fd279 Validate that MX preference parses as int 2017-06-23 13:17:32 -07:00
Ross McFarland
1340aee8a9 MX RFC1035 - priority -> preference & value -> exchange 2017-06-23 13:04:38 -07:00
Ross McFarland
d2af8efe5c Root CNAMEs are not allowed 2017-06-23 09:49:11 -07:00
Ross McFarland
a97818b6ec populating existing provider state is lenient
- adds lenient flag to Record.new, problems during validation are just
  warnings if it's true
- target populate calls during the plan phase pass lenient=True
- make all of the provider.populate call logging consistent including both
  target and lenient
- add source=self to Record.new in a few places that were missing it
2017-06-23 09:01:25 -07:00
Ross McFarland
8323b4c0ea Complete refactor & rework of how validation is set up
This is with an eye toward expanding it in the future both in terms of what it
checks and to add the ability to ignore things. This commit does not intend to
change any validation. It only reworks the flow and improves the error
messaging.
2017-06-23 07:14:01 -07:00
Ross McFarland
756f017854 Go back to simple/standard ALIAS value 2017-06-03 08:47:01 -07:00
Ross McFarland
9dbfe7c839 AliasValue, name & type, improved Record KeyError handling 2017-05-28 17:05:23 -07:00
Ross McFarland
9e172ed303 Add AliasRecord & tests 2017-05-28 07:21:53 -07:00
Ross McFarland
7957a4c018 Initial import of OSS OctoDNS 2017-03-15 15:38:10 -07:00