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

653 Commits

Author SHA1 Message Date
Ross McFarland
1fb4f4facd Avoid double existing_records lookup 2020-03-30 07:04:07 -07:00
Maik Zumstrull
f590f201ea Use dict to speed up record search
This dict is created earlier, presumably to speed up this exact lookup, but it was using the list form instead, requiring a linear scan for each item.
2020-03-26 14:23:36 +00:00
Ross McFarland
ee4f59cbb0 Merge branch 'master' into dynamic-pool-validation 2020-03-24 11:58:46 -07:00
Ross McFarland
d35c136858 Warn about unused pools, ones not referenced by a rule 2020-03-20 13:32:37 -07:00
Ross McFarland
aa58631dcd Validate dynamic rules do not reuse pools 2020-03-20 13:15:14 -07:00
Ross McFarland
9349f20aeb Rename fastdns to edgedns w/backwards compat for now 2020-03-06 17:26:52 -08:00
rupa deadwyler
0df33a5165 changes per review
* Add a client_config option to Ns1Provider, for passing additional
  options or overrides to the SDK config. This should allow NS1 users
  some flexibility without bothering octodns so much.
* Expose the actual SDK client object as `_client` on the Ns1Client wrapper
* Do my best to clarify options and defaults in the Ns1Provider docstring
2020-03-06 11:39:11 -05:00
rupa deadwyler
0f848e9b76 Add the parallelism arg to Ns1Provider docstring 2020-03-05 12:58:28 -05:00
rupa deadwyler
003754edc7 NS1 provider: support rate-limiting strategy
Adds a "parallelism" argument to the NS1 Provider. If set, we analyze
response headers and attempt to avoid 429 responses.
2020-03-05 12:16:17 -05:00
Pavan Chandrashekar
35b835e8aa Merge branch 'master' into handle-oceania 2020-03-03 17:07:11 -08:00
Pavan Chandrashekar
0daa37578b Address review comments 2020-03-03 16:36:08 -08:00
Pavan Chandrashekar
71a277f6ad NS1 doesn't support region OC. Handle it explicitly in the provider 2020-03-03 11:07:29 -08:00
Ross McFarland
81c4092185 Add check_origin option to ZoneFileSource 2020-02-28 07:07:52 -08:00
Mark Mercado
78383df99f Merge branch 'master' of https://github.com/github/octodns into feature/cloudflare-auth-bearer 2020-02-15 12:20:19 -05:00
John Lane
3d871a5bad Improve test; downcase instance variable 2020-02-10 17:14:57 +00:00
John Lane
c20f380bc3 Support DNSimple sandbox
An optional parameter 'sandbox' can be used to select the base URL
for the Sandbox API (see https://developer.dnsimple.com/sandbox ).
2020-02-10 16:18:59 +00:00
Mark Mercado
cf3dc94315 use the generic replacement field specifier 2020-02-05 14:40:44 -05:00
Ross McFarland
5d984ba5a9 Merge branch 'master' into feature/cloudflare-auth-bearer 2020-02-05 08:50:13 -08:00
Adam Smith
08af9aaab3 ContellixProvider: zone creation and records in one run 2020-02-02 22:23:51 -08:00
Mikalai Radchuk
6498a1e094 Fixes a typo in log 2020-01-29 20:53:16 +00:00
Ross McFarland
77b0b6753f Merge remote-tracking branch 'origin/master' into ns1-configure-monitors 2020-01-27 08:34:28 -08:00
Ross McFarland
c9cb3d8c3e Merge branch 'master' into add-ovh-caa 2020-01-22 07:28:25 -08:00
Ross McFarland
82a271ff71 Merge branch 'master' into overriding-yaml-provider 2020-01-22 06:54:28 -08:00
Charles
e13d23dc80 Use python3-friendly syntax 2020-01-21 17:49:19 +01:00
Charles
01ec880f83 Add CAA record type for ovh provider 2020-01-21 17:49:19 +01:00
Ross McFarland
c7be8fada2 Add a way to configure Ns1Provider monitoring regions for records 2020-01-16 14:37:25 -08:00
Ross McFarland
72e60f0b3f Merge branch 'master' into aws-support-delegationsetid 2020-01-15 17:00:43 -08:00
Ross McFarland
5abc8e1577 Merge remote-tracking branch 'origin/master' into ns1-dynamic 2020-01-13 07:32:05 -08:00
Ross McFarland
01a9fa87b1 Address Ns1Provider review feedback 2020-01-13 07:29:38 -08:00
Ross McFarland
79cb88ef25 Fix pycodestyle overindent warnings w/2.5.0 2020-01-11 09:37:00 -08:00
Ross McFarland
f1cc392bc4 Include populate_should_replace in yaml example. 2020-01-09 07:41:30 -08:00
Kaari
4b625eba64 Use comprehension for clarity and best practice
Co-Authored-By: Ross McFarland <ross@github.com>
2020-01-08 19:52:13 +01:00
Charles Durieux
e22a7d2738 Fix trailing semicolon in dkim for ovh provider
Pulling dns records from ovh to a yaml file puts a semicolon at the end.
Pushing from yaml to ovh will fail the "dkim-compliant" verification if
there is an empty field (and there is one in case of a trailing
semicolon). With the current logic, pulling dkim record created with ovh
then pushing it back will NOT work.

This small patch ignores all empty fields in a dkim records during dkim
validation.
2020-01-08 17:45:02 +01:00
Ross McFarland
a078ec9d31 Move to populate_should_replace rather then OverridingYamlProvider 2020-01-06 14:16:47 -08:00
Ross McFarland
41dd72f1fb Merge remote-tracking branch 'origin/master' into overriding-yaml-provider 2020-01-06 13:41:27 -08:00
Ross McFarland
391ef583ae Ns1 should use geofence_regional to avoid nearest matching 2020-01-06 10:22:41 -08:00
Ross McFarland
95f5111487 NS1 geo records will always use 'answers' 2020-01-06 10:18:56 -08:00
Ross McFarland
0f298e51be Tests for ns1 _monitors_gc 2019-12-13 13:22:54 -08:00
Ross McFarland
4022155b72 Method naming consistency, test coverage for feeds and monitors 2019-12-13 13:07:32 -08:00
Ross McFarland
8ec84f49bb More ns1 code coverage, bug fix for monitor matching 2019-12-13 12:39:14 -08:00
Ross McFarland
d7053a2e92 Ns1Client tests for caching and minor logic 2019-12-13 11:58:18 -08:00
Ross McFarland
6c7abe1fd6 Ns1 still SUPPORTS_GEO 2019-12-12 14:19:16 -08:00
Ross McFarland
674c29fb8b Debug logging 2019-12-12 14:17:42 -08:00
Ross McFarland
c119f2e802 Move ns1 caching to client where it's much safer/consistent 2019-12-12 14:03:09 -08:00
Ross McFarland
55f4194daf Functionally complement and untested ns1 dynamic support 2019-12-12 13:23:35 -08:00
Ross McFarland
f6c60b69b7 WIP monitors management 2019-12-11 15:05:52 -08:00
Ross McFarland
7a472506cc Implement _data_for_dynamic_A w/some related refactoring 2019-12-10 13:50:11 -08:00
Ross McFarland
ea2a52c307 Python 3 friendly way to re-raise when tries expire 2019-12-10 12:26:19 -08:00
Ross McFarland
334e64c8f5 Python 3 friendly way to re-raise when tries expire 2019-12-10 12:20:25 -08:00
Joshua Hügli
b9d0586c7f Update octodns/provider/route53.py
Co-Authored-By: Ross McFarland <ross@github.com>
2019-12-10 17:03:31 +01:00