Commit Graph

236 Commits

Author SHA1 Message Date
Ross McFarland d57c7f6c01 Further test coverage for DynProvider dynamic records 2018-12-17 17:16:23 -08:00
Ross McFarland 942edd66c0 Remove debugging prints, test dyn dynamic, fix problems found by tests 2018-12-17 13:00:00 -08:00
Ross McFarland 60911917b4 Implement Dync populate dynamic, flesh out testing for all but dyn 2018-12-14 11:33:50 -08:00
Ross McFarland a169d50fcf Add GeoCodes.parse and move Move Dyn dynamnic over to use it 2018-12-14 11:33:50 -08:00
Ross McFarland a452a0eb00 Get DynProvider and tests happy, though still incomplete 2018-12-14 11:33:50 -08:00
Ross McFarland f1d5808ddc Heh, apparently there were some invalid Geo codes in tests 2018-12-10 13:05:21 -08:00
Ross McFarland 388e9a67e0 Hook up new GeoCodes validation to _DynamicMixin 2018-12-10 13:04:25 -08:00
Ross McFarland 50ae8054c7 First pass at GeoCodes and geo_data for validating/working with geo codes 2018-12-10 12:55:18 -08:00
Ross McFarland bc6e492f35 Merge remote-tracking branch 'origin/master' into dynamic-records 2018-12-10 08:44:57 -08:00
Adam Smith 6ee308089f add ANAME support to DnsMadeEasy (ALIAS == ANAME) 2018-12-09 17:08:38 -08:00
Ross McFarland a767a5cb25 Implement pool-level fallbacks and validations 2018-12-07 14:29:05 -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 b80348c2c7 Add __eq__, __ne__, and __repr__ to Dynamic objects and test 2018-12-03 16:46:18 -08:00
Ross McFarland 446f66f562 Implement _DynamicMixin's value objects, unit test them 2018-12-03 15:51:30 -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 303d0532c8 Implement SUPPORTS_DYNAMIC functionality, no providers 2018-12-03 14:40:43 -08:00
Ross McFarland 70c35aac26 WIP implementation of dyanmic pools & rules validation 2018-12-03 14:28:30 -08:00
Ross McFarland c9b373f0ae Further clean up/division of labor and tests 2018-11-30 08:32:55 -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 02d120dda6 Fixes for DNSimple's TXT ; handling 2018-11-12 08:40:44 -08:00
Matt 84c883c67f Add - Test case. 2018-11-04 13:16:26 +11:00
Matt bcff231e35 Alter - New tests to be more unit-test-like. 2018-10-18 21:55:48 +11:00
Matt 6ceb35c2fc Add: New tests. 2018-10-18 10:46:12 +11:00
Matt 18f29f1c6b Alter: Existing tests. 2018-10-18 10:46:12 +11:00
Ross McFarland aee786dd01 Explicit handling of SRV & CAA in _gen_key, tests for those cases 2018-10-16 07:08:01 -07:00
Ross McFarland 0c33d3acac Handle the MX special case around content 2018-10-15 20:18:14 -07:00
Ross McFarland db8e291d53 Implement CloudflareProvider create + delete -> update conversion 2018-10-15 19:51:26 -07:00
Ross McFarland e0c4e60c43 Vastly improved CloudflareProvider _apply_Update, much safer 2018-10-15 16:29:36 -07:00
Adam Smith fd3de1e08b add Zone File source, reads Bind compatible zone files 2018-10-14 16:53:05 -07:00
Adam Smith a803371fa4 add AXFR source to OctoDNS
Adds a new source requested in #239. This source allows a user to pull data from
a legacy system (Bind9, etc.) that does not have an API/existing provider via
AXFR Zone Transfer.
2018-07-16 01:34:32 -07:00
Ross McFarland b01cc18706 Merge branch 'master' into etc-hosts-provider 2018-06-14 07:28:17 -07:00
Ross McFarland 928661b2f2 Merge branch 'master' into route53_auth_methods 2018-06-14 07:22:14 -07:00
Adam Smith be6019f119 change all answers from NS1 to absolute for types that require it 2018-06-13 22:44:45 -07:00
Adam Smith 446e8485b3 if user does not explicitly set Access Key ID and Secret Access Key then use
boto3's methods as fallback
2018-06-13 21:18:21 -07:00
Ross McFarland 1e2da34361 Use path.join, add loop detection & tests 2018-06-09 16:21:25 -07:00
Ross McFarland 36b67b8b7a Implement EtcHostsProvider, content to be used in /etc/hosts
...for testing or emergencies
2018-06-01 20:59:03 -07:00
Ross McFarland 206d77d5a6 Include a provider test of populate w/lenient=True 2018-05-30 12:56:25 -07:00
Ross McFarland 1103b4c383 Implement Zone.add_record lenient param/support and more tests 2018-05-30 12:30:20 -07:00
Ross McFarland adf7154f6b TDD lenient add_record 2018-05-30 12:22:35 -07:00
Ross McFarland 3ea78af8e1 pycodestyle updates, mostly escaping \, couple r's, ignore break on binary 2018-04-15 09:58:36 -07:00
Tommy Yang b000c07c80 Skip unsupported records for NS1 & DNSimple
Implements the unsupported records skipping fix [proposed by ross](https://github.com/github/octodns/issues/176#issuecomment-359294960) in #176 for DNSimple and additionally for NS1.

Fixes #176 and also the NS1 version of it (`AttributeError: 'Ns1Provider' object has no attribute '_data_for_DNSKEY'`) that currently affect domains that have DNSSEC enabled.
2018-04-09 05:50:22 -07:00
Ross McFarland 19956f14bc Include fqdn in Route53 health check refs, not name
This will ensure unique refs for different zones. Without them the ref isn't
enough to make sure we're looking at the right thing (notably when we're
gc'ing old health checks.) This also adds a bit more debugging around health
checks.
2018-04-04 17:38:00 -07:00
Ross McFarland b51a9148b8 Route53 support for healthcheck protocol & port 2018-03-31 14:47:22 -07:00
Ross McFarland e6d8669611 Implement healthcheck protocol and port for Dyn 2018-03-31 14:31:15 -07:00
Ross McFarland 849a97f161 Add healthcheck protocol validation, HTTP or HTTPS 2018-03-31 13:35:48 -07:00