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

2805 Commits

Author SHA1 Message Date
Ross McFarland
3a2ccdcac0 Manually join self.values to avoid double escapes, e.g. \\; 2017-06-28 03:09:41 -07:00
Heesu Hwang
36585a11ef Merge branch 'master' of https://github.com/github/octodns into AZProvider 2017-06-27 12:11:28 -07:00
Heesu Hwang
cc47bd7034 Fixed bug for MX and SRV. Added Azure test suite as well. 2017-06-27 12:10:57 -07:00
Ross McFarland
d7b02da246 Merge pull request #77 from github/rfc-1035
Rfc 1035 compliance
2017-06-27 09:11:29 -07:00
Vietor Davis
679c2be0e0 Start sketchin of Rackspace provider, half rewritten from powerdns... 2017-06-26 17:03:15 -07:00
Ross McFarland
3b7973425a Merge branch 'master' into rfc-1035 2017-06-24 19:19:52 -07:00
Ross McFarland
29861c44de Merge pull request #78 from github/meta-records
Add meta record support with provider id to zone
2017-06-24 19:19:36 -07:00
Ross McFarland
5e4d68094f Add meta record support with provider id to zone
Support replace=True in zone.add_record
2017-06-24 17:14:48 -07:00
Heesu Hwang
98f7c646dd Merge branch 'master' of https://github.com/github/octodns into AZProvider 2017-06-23 15:19:32 -07:00
Heesu Hwang
598acc943d Added full support of Azure DNS. TODO: testing. 2017-06-23 15:19:27 -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
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
Heesu Hwang
4a9889bd59 Merge branch 'master' of https://github.com/github/octodns into AZProvider 2017-06-22 14:26:29 -07:00
Heesu Hwang
3c1e409e6f Added support for CNAME, AAAA, MX, SRV, NS, PTR. TODO: add TXT. add zone creation. create tests 2017-06-22 14:22:40 -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
02d80c2e84 Merge remote-tracking branch 'origin/master' into configurable-geo-healthcheck 2017-06-21 15:31:25 -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
b6cd08e659 Update DSFMonitor labels to include type
Would have prevented both A and AAAA exisiting on the same node.
2017-06-21 14:34:21 -07:00
Heesu Hwang
71b23214ee Merge branch 'master' of https://github.com/github/octodns into AZProvider 2017-06-21 14:25:57 -07:00
Heesu Hwang
92828ce1c6 Successfully able to add A records. TODO: check against live server to remove records not listed in config 2017-06-21 14:21:14 -07:00
Ross McFarland
72eff706da Dyn support for configrable healthchecks and _extra_changes support
More thorough unit tests while I'm in here. Ended up doing some hacks/monkey
patching of DSFMonitor as the client library's object doesn't seem to be fully
functional/useful and has inconsitent behavior.
2017-06-21 12:40:31 -07:00
Heesu Hwang
f5bce43e10 Testing AzureProvider. TODO: resolve 'Exception: Unknown provider class: octodns.provider.azure.AzureProvider' 2017-06-20 15:54:35 -07:00
Heesu Hwang
f48ef28688 Added shell script 2017-06-20 14:55:59 -07:00
Heesu Hwang
ae9dd97f16 Filled out skeleton. Starting Testing 2017-06-20 14:43:51 -07:00
Ross McFarland
0e8bc9a3d7 Dyn monitor config support, includes ability to update
Also fixes some mocking data to match what the Dyn client libs are
expecting.
2017-06-20 14:43:27 -07:00
Ross McFarland
9506c682cc Go head and support cleaning up v0000 Route53 health check versions 2017-06-20 11:46:17 -07:00
Ross McFarland
d0b8b25cdd Existing and desired to _extra_changes, desired used by Route53 to get configed
Fixes an issue where we'd be looking for custom healthcheck config on the
existing record object (from the provider) which would never have a custom
setup. Instead looking at desired lets us find what's actually configured to be
the case
2017-06-20 11:44:13 -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
Heesu Hwang
386ada34f0 Added onto azuredns.py. Still completing code skeleton 2017-06-19 17:04:25 -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