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

420 Commits

Author SHA1 Message Date
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
Ross McFarland
fc4bf6b8ce Merge branch 'master' into googledns-semicolon-escapes 2018-03-03 10:43:26 -08:00
Ross McFarland
7228c5b294 Merge remote-tracking branch 'origin/master' into show-zone-create 2018-03-03 10:18:32 -08:00
Ross McFarland
876c09dcc0 Flesh out UT for new Plan.exists messaging 2018-03-03 10:12:34 -08:00
Josh Soref
5d2ba2e715 Spelling (#214)
* spelling: ancillary
* spelling: antarctica
* spelling: australia
* spelling: authentication
* spelling: continental
* spelling: constructor
* spelling: conversion
* spelling: creation
* spelling: doesn't
* spelling: easily
* spelling: efficiently
* spelling: equivalent
* spelling: essentially
* spelling: everything
* spelling: exactly
* spelling: be
* spelling: expensive
* spelling: supports
* spelling: healthcheck
* spelling: immediately
* spelling: ignored
* spelling: invocation
* spelling: itself
* spelling: leftovers
* spelling: missing
* spelling: natural
* spelling: nonexistent
* spelling: peculiarities
* spelling: pointing

This change hit a line length limitation, so I'm wrapping it and
adding a period which appears to match local style...

* spelling: quicker
* spelling: response
* spelling: requested
* spelling: redirect
* spelling: traffic
* spelling: unknown
* spelling: uploaded
* spelling: useful
* spelling: separately
* spelling: zone
2018-02-27 09:09:47 -08:00
Ross McFarland
9f2b65ec83 Change str() to unicode() to avoid encoding problems 2018-02-24 09:19:23 -08:00
Masaki Tagawa
7215d80230 PEP8 2018-02-18 10:36:02 +09:00
Masaki Tagawa
5439504dd0 Merge branch 'master' into googledns-semicolon-escapes 2018-02-18 10:31:11 +09:00
Masaki Tagawa
2a16e988e0 Generate the zone name following the spec of Google Cloud DNS
Zone name must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes, and be 63 characters or less.
For instance, a reverse zone of IPv6 may violate the spec on the first character and the length of the zone name.
2018-02-14 01:16:09 +09:00
Masaki Tagawa
f62f824966 Escape unescaped semicolons coming out of Google Cloud DNS 2018-02-13 23:43:30 +09:00
Ross McFarland
22d8914ef2 Merge branch 'master' into new-sshfp-values 2018-02-12 12:02:36 -08:00