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

230 Commits

Author SHA1 Message Date
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
Ross McFarland
9752cb0a12 Add protocol and port to octodns.healthcheck configurables 2018-03-31 13:10:06 -07:00
Ross McFarland
5372e86e1c Switch to named params in _extra_changes 2018-03-31 12:39:32 -07:00
Ross McFarland
afd592f5a3 Merge remote-tracking branch 'origin/master' into configurable-geo-healthcheck 2018-03-31 12:16:10 -07:00
Ross McFarland
7a755d15be Make sure to insert new rulesets at the "end"
Dyn will still match them, even while they're empty before we've had a
chance to add the respons pools to them which is BAD and caused a
medium-size outage (thankfully not as bad as it could have been.) Ideally
we'd use publish=False and stage things, but that seems broken in the client
lib, there's no way to send publish=N. I also tried sending the
response_pool_ids as part of the create calls and response pool config if
one didn't exist, but neither of those routes worked :-(
2018-03-24 10:28:09 -07:00
Dirkjan Bussink
a7f6da96d3 Merge branch 'master' into configurable-geo-healthcheck 2018-03-22 08:51:51 +01:00
Michael McAllister
8c1fe707e8 ISSUE #26 Skip Alias recordset for Route53 Provider 2018-03-04 18:02:51 +11:00