Petter Hassberg
b027e5ca4c
Merge branch 'master' into google_cloud_provider
2017-10-14 19:42:38 +02:00
Petter Hassberg
7958618f63
Use uuid4 for zone name in GoogleCloudProvider
...
use uuid4().hex to ensure unique zone_name generation and thereby streamline with the other providers.
2017-10-14 19:32:24 +02:00
Ross McFarland
ffeceb39b1
Handle Manager.dump with an empty Zone
2017-10-13 13:15:24 -07:00
Joe Williams
50ac2f794c
add tests
2017-10-10 14:39:25 -07:00
Joe Williams
a012e923f6
add ability to configure update/delete thresholds
2017-10-10 13:54:52 -07:00
Petter Hassberg
e9d90bda2b
Add timeout logic to googlecloud provider
2017-10-09 19:55:59 +02:00
Petter Hassberg
4b878b8446
Cache encountered zones in GoogleCloudProvider
...
Cache googleclouds zones so that populate dont have to list all each time called.
2017-10-09 19:55:59 +02:00
Petter Hassberg
aabab63003
Refactor GoogleCloudProvider
...
* in _rrset_for_X functions, use values instead of data attribute.
* Small typo fixes and removals of redundant steps etc.
* Unset GOOGLE_APPLICATION_CREDENTIALS in coverage script.
2017-10-09 19:55:59 +02:00
Petter Hassberg
8230700ad1
Consolidate googlecloud provider to single class
...
remove _GoogleCloudRecordSetMaker into the GoogleCloudProvider, and consolidate methods.
2017-10-09 19:55:59 +02:00
Petter Hassberg
2a3690e877
Add auth config opts to googlecloud provider
...
Also make _data_for_SPF and _data_for_TXT the same method.
2017-10-09 19:55:59 +02:00
Petter Hassberg
ed783b5ff2
Add proposed google cloud provider.
...
Proposed google cloud provider for #23
2017-10-09 19:55:59 +02:00
Ross McFarland
30efda3295
Make long TXT record concat cleaerer
2017-10-09 09:00:15 -07:00
Ross McFarland
70120bedc8
Implement "chunked" TXT/SPF value support for long values
...
This implements it transparently at Record level. Providers that need things to
be chunked (seems to just be Route53 an Dyn) switch to use `chunked_values`, but
everything else can stick with `values`. I've run through each provider I have
access to verifying that things operate as expected/required. OVH and Azure are
untested.
2017-10-05 10:04:29 -07:00
trnsnt
8a13ccab46
Add OVH as octodns provider
2017-09-18 17:37:51 +02:00
Ross McFarland
a558fde6df
Fixes for cloudflare CAA support
2017-09-06 12:08:08 -07:00
Ross McFarland
ba6dc9858e
Get out of the business of validating CAA records
...
Seem to be pretty inconsistently implemented/validated across providers so
just shrug and move on.
2017-08-28 13:40:25 -07:00
Ross McFarland
e43da949a3
Add CAA for CF, DNSimple, and README
2017-08-26 15:39:54 -07:00
Ross McFarland
f5ad26e1f9
Fixes for dnsimple CAA support
2017-08-26 15:31:57 -07:00
Ross McFarland
c24c793bcb
CAA unit tests for provider support
2017-08-26 15:28:09 -07:00
Ross McFarland
1e68cd6ae9
Add CAA support to Dyn, PowerDNS, and Route53
2017-08-26 09:03:59 -07:00
Ross McFarland
4cae1e2bdb
Add CAA Record class and tests
2017-08-26 08:18:17 -07:00
Ross McFarland
ed45ac3875
Merge branch 'master' into route53-max-attempts
2017-08-21 16:01:30 -07:00
Heesu Hwang
9623f4e783
updated testfile to include test cases for new TXT data parsing
2017-08-21 11:02:28 -07:00
Ross McFarland
268620c939
Add support for increasing Route53 retries
2017-08-12 12:54:53 -07:00
Ross McFarland
7f8a01a81d
Improved/actionable keys out of order error message
2017-07-25 09:15:30 -07:00
Ross McFarland
0cb284ad0c
Merge branch 'master' into add-record-perf
2017-07-21 08:37:48 -07:00
Ross McFarland
4b7a18e8a4
Merge branch 'master' into master
2017-07-11 07:53:03 -07:00
Joe Williams
5b746845ed
add tests
2017-07-11 07:36:24 -07:00
Heesu Hwang
2cb93de3b6
Merge branch 'master' of https://github.com/github/octodns
2017-07-10 09:50:35 -07:00
Ross McFarland
818c1e9cc6
Unit tests for ns1 escape handling and fix
2017-07-05 14:28:01 -07:00
Heesu Hwang
99578f328c
add azure to README. order reqs, change comments slightly, alphabetize functions
2017-07-05 09:45:38 -07:00
Heesu Hwang
3bd41d8e2b
Merge branch 'master' of https://github.com/github/octodns
2017-07-03 11:07:39 -07:00
Ross McFarland
908698da49
Fix major performance issue with add_record O(N^2)
...
Before, 1-2k record took ~10s and more than that was just painful, 5k took
forever. This records things to keep a dict of nodes with a set of records so
that we can quickly "jump" to the point we're looking for without having to
search. 10k records now takes ~5s.
2017-07-02 18:23:45 -07:00
Ross McFarland
d9806e851f
NS1 RateLimitException, just sleep for e.period
2017-07-02 10:45:58 -07:00
Heesu Hwang
ec4261e7da
Fixed typed in _data_for_PTR and amended test case to check for it
2017-06-30 17:29:16 -07:00
Heesu Hwang
824cf4e98c
Changed code as per PR review. Only major change is refactoring _check_zones. Many more comments
2017-06-30 17:12:18 -07:00
Heesu Hwang
0b2275c4e6
Added complete error testing suite for azuredns
2017-06-30 11:06:42 -07:00
Ross McFarland
a44b82c2c7
NS1 rate_limit_delay param, unit tests for rate limit handling
2017-06-28 04:11:46 -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
3b7973425a
Merge branch 'master' into rfc-1035
2017-06-24 19:19:52 -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
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
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
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