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

127 Commits

Author SHA1 Message Date
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
3ca64c4e08 Merge pull request #74 from github/validate-rework
Complete refactor & rework of how validation is set up and overall improvements
2017-06-23 12:24:31 -07:00
Ross McFarland
615bc95976 CNAME cannot coexist with other records on a node 2017-06-23 09:49:25 -07:00
Ross McFarland
d2af8efe5c Root CNAMEs are not allowed 2017-06-23 09:49:11 -07:00
Ross McFarland
a69ff64ae1 Add --lenient flag to dump 2017-06-23 09:24:25 -07:00
Ross McFarland
cfc0d586a1 Log max_workers, useful to know 2017-06-23 09:06:21 -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
0aa0878ae8 Merge pull request #72 from github/explicit-supports
Switch to an explicit SUPPORTS setup
2017-06-22 07:34:42 -07:00
Ross McFarland
852c101388 Switch to an explicit SUPPORTS setup 2017-06-21 17:08:16 -07:00
Ross McFarland
a316bf578c Merge pull request #70 from github/natrual-sorting-improvements
Natural sorting improvements
2017-06-21 15:22:54 -07:00
Ross McFarland
4e497e862e Merge branch 'master' into natrual-sorting-improvements 2017-06-21 14:54:09 -07:00
Ross McFarland
5a6c32d66c Merge pull request #46 from github/route53-refactor
Rework _Route53Record to avoid a bunch of hacks
2017-06-21 14:53:56 -07:00
Ross McFarland
acd245ed41 Merge branch 'master' into route53-refactor 2017-06-21 14:46:26 -07:00
Ross McFarland
3b349c96f0 Merge pull request #71 from github/route53-and-cloudflare-no-alias
Quick-fix disable ALIAS for Route53 & Cloudflare
2017-06-20 08:44:21 -07:00
Ross McFarland
ce0b58d57e Quick-fix disable ALIAS for Route53 & Cloudflare
Cloudflare could potentially support it, but their details are different enough
that i'll need to be looked into specifically later.
2017-06-20 08:39:59 -07:00
Ross McFarland
97e5b89925 Merge remote-tracking branch 'origin/master' into route53-refactor 2017-06-20 08:18:36 -07:00
Ross McFarland
046cde43b2 Make sorting enforcement optional with YamlProvider 2017-06-19 22:44:34 -07:00
Ross McFarland
4a7ce9e833 Bake in the existing, but less than great hex sorting behavior 2017-06-19 22:36:08 -07:00
Ross McFarland
db35ffe72e Replace my custom natrual sorting with natsort module
Better to use something real/tested and less likely buggy/limited.
2017-06-19 22:17:48 -07:00
Ross McFarland
cdba531175 Merge pull request #69 from github/skip-no-targets
Skip planning (and populating) zones without elible targets
2017-06-19 21:52:04 -07:00
Ross McFarland
03a4763624 Skip planning (and populating) zones without elible targets 2017-06-19 21:49:16 -07:00
Ross McFarland
5c6981fd3f Merge pull request #68 from sijis/docs/small_typos
docs: Fix small typos
2017-06-17 10:33:42 -07:00
Sijis Aviles
e6405d274a docs: Fix small typos 2017-06-17 10:34:11 -05:00
Ross McFarland
a7c538dcd6 Merge pull request #47 from github/alias-support
Alias support
2017-06-13 15:59:33 -07:00
Ross McFarland
b777c159ce Merge remote-tracking branch 'origin/master' into alias-support 2017-06-12 14:07:03 -07:00
Ross McFarland
e87462380f Update comment about DNSimple's ALIAS support, no errors are thrown 2017-06-12 14:06:43 -07:00
Ross McFarland
98e0670020 Merge pull request #56 from github/ignored-record-support
Add support for ignored records.
2017-06-09 07:02:19 -07:00
Ross McFarland
80b06b726c Merge branch 'master' into ignored-record-support 2017-06-09 06:22:37 -07:00
Ross McFarland
a69362d509 Merge pull request #59 from github/route53-semicolon-escapes
Escape unescaped semicolons coming out of Route53
2017-06-09 05:43:57 -07:00
Ross McFarland
d95f84216b Merge branch 'master' into route53-semicolon-escapes 2017-06-08 18:50:35 -07:00
Ross McFarland
efa474b1c8 Merge pull request #60 from github/fix-always-dry-run
Fix zone-level always-dry-run functionality
2017-06-08 18:50:08 -07:00
Ross McFarland
7e0730ea1b Helps if I add the new config file 2017-06-08 18:45:47 -07:00
Ross McFarland
371138dbec Fix zone-level always-dry-run functionality
Thanks @offmindby!
2017-06-08 18:34:33 -07:00
Ross McFarland
dd0042c6ff Escape unescaped semicolons coming out of Route53 2017-06-08 17:55:19 -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
Ross McFarland
a36605e97e Merge branch 'master' into alias-support 2017-06-04 14:18:47 -07:00
Ross McFarland
1e329f1345 Merge pull request #55 from github/dnsimple-root-record-fixes
DnsimpleProvider updates delete before create, or else errors thrown
2017-06-04 14:17:27 -07:00
Ross McFarland
6fd7371e2f DnsimpleProvider updates delete before create, or else errors thrown 2017-06-04 14:12:53 -07:00
Ross McFarland
736938912c Merge pull request #54 from github/ns1-no-sshfp
NS1 does not support SSHFP
2017-06-04 14:09:43 -07:00
Ross McFarland
23d0efdba2 DNSimple mock calls allowed in any order 2017-06-04 14:08:04 -07:00
Ross McFarland
1b1590011c NS1 does not support SSHFP 2017-06-04 14:07:12 -07:00
Ross McFarland
8ed7278032 DynProvider and DnsimpleProvider ALIAS tests 2017-06-03 17:21:08 -07:00
Ross McFarland
11cf155477 Pass of ALIAS support across supported providers. Allow ALIAS ttl
Supports ALIAS for Dnsimple, Dyn, Ns1, and PowerDNS. Notes added to readme about
some of the quirks found while working with them. TTL seems to mostly be
accepted on ALIAS records so it has been added back, what it means seems to vary
across providers, thus notes.
2017-06-03 09:44:05 -07:00
Ross McFarland
82ed633669 Merge remote-tracking branch 'origin/master' into alias-support 2017-06-03 09:31:07 -07:00
Ross McFarland
756f017854 Go back to simple/standard ALIAS value 2017-06-03 08:47:01 -07:00
Ross McFarland
703ec00e24 Merge pull request #50 from vanbroup/patch-1
Fix NS1 provider name
2017-06-01 07:30:07 -07:00