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

443 Commits

Author SHA1 Message Date
John Dale
9a2152d249 Update to remove URL and STEALTH records
* Removed conversion of URL and STEALTH records to CNAME records
* Updated test fixtures to remove URL conversion testing
2020-07-20 22:58:21 +00:00
John Dale
f4aa96abe5 Update to provide consistency
* Replaced camelCase with snake_case
* Change apikey to api_key
* Added check on record name before delete during domain_create
2020-07-18 08:03:27 +00:00
John Dale
c2f541546b Adding Octodns provider class for easyDNS
This provider class for easydns.com adds support for basic dns records
through the easyDNS v3 API.  Support for dynamic and geo based dns
records is planned for a future update.

Sample configuration for the easyDNS provider are:

  easydns:
     class: octodns.provider.easydns.EasyDNSProvider
     token: <token>
     apikey: <key>

The token and key values are found on the easyDNS customer portal at:

https://cp.easydns.com/manage/security/api/production_info.php

Also, below are some optional configuration parameters which can be
added to override the class defaults.  By default the provider class
connects with the LIVE easyDNS API, if you wish to perform testing
with the easyDNS Sandbox API you can enable it by adding the following
configuration parameter:

     sandbox: True

Note, the API token and key are different for the sandbox than they
are for the production API, you can obtain sandbox credentials at:

https://cp.easydns.com/manage/security/api/sandbox_info.php

Lastly, if you have created Domain Portfolios through the easyDNS CP
you can configure which portfolio new domains will be added to by
supplying the portfolio option with the name of your portfolio.

     portfolio: <portfolio name>
2020-07-09 03:47:11 +00:00
Ross McFarland
c5a19b4403 Merge remote-tracking branch 'origin/master' into add-route53-interval-option 2020-07-01 07:58:22 -07:00
Ross McFarland
0522036853 Merge branch 'master' into ns1-georegion-and-country 2020-06-24 18:45:12 -07:00
Ross McFarland
c25dd38d4f lenient param to populate needs to be optoinal 2020-06-24 18:37:22 -07:00
Ross McFarland
0830b9c114 Handle and test for old-style NS1 catchall naming pattern 2020-06-23 14:54:40 -07:00
Ross McFarland
2938c7bf6a Test out the new naming/code paths for NS1 region populate/combining 2020-06-23 13:57:14 -07:00
Ross McFarland
a8cb831d29 Much more thorough testing of NS1 _params_for_dynamic_A 2020-06-23 13:47:46 -07:00
Ross McFarland
680cd95e73 Remove fragile save & restore record junk 2020-06-23 13:16:42 -07:00
Ross McFarland
d84aace823 Don't modify a shared record, causes cascading test failures 2020-06-23 13:16:09 -07:00
Ross McFarland
bbe4dc2d3e NS1 georegion, country, and catchall need to be separate groups 2020-06-23 09:49:37 -07:00
Lance Hudson
9989134286 Merge branch 'master' into patch-3 2020-06-19 15:40:34 -04:00
Ross McFarland
2a159bf93b Refactor PowerDNS version handling to be transparently cached properties 2020-06-12 09:36:57 -07:00
Lance Hudson
e477f9f888 Add the ability to mark a zone as lenient 2020-06-11 20:11:12 -04:00
Maikel Poot
ee7b36b496 Added server version checking 2020-06-10 13:34:44 +02:00
Maikel Poot
5b87649295 Merge branch 'master' into powerdns-4.3.x-support
* master: (21 commits)
  Add Canadian provinces to geo_data.py
  Fix comment < 80 chars
  Add support for geo-targeting of CA provinces - For providers that support such
  Update geo_data to pick up a couple renames
  Ignore E741, flags single-letter var names in comprehensions which I want to allow
  Bump pycodestyle from 2.5.0 to 2.6.0
  Bump boto3 from 1.13.0 to 1.13.19
  Bump botocore from 1.16.0 to 1.16.19
  Bump six from 1.14.0 to 1.15.0
  Bump ns1-python from 0.15.0 to 0.16.0
  Bump setuptools from 44.1.0 to 44.1.1
  Cloudflare: Rename _try to _try_request
  Cloudflare: Add Support for Rate Limit
  Cloudflare: Add Support for PTR Records
  Update NS1 _REGION_FILTER to include remove_no_georegion in config
  Fix code coverage for NS1
  Docs and changelog for TCP health check support
  Fix Dyn python3 error with dict_values that needed a list
  TCP healthcheck support for Route53
  NS1 support for TCP healthchecks
  ...
2020-06-09 14:50:52 +02:00
Dan Hanks
1569d94513 Add support for geo-targeting of CA provinces
- For providers that support such
2020-06-03 10:04:53 -04:00
Lance Hudson
53d654c39d Cloudflare: Add Support for Rate Limit 2020-05-28 22:17:34 -04:00
Daniel Weissengruber
74a13e4a19 Cloudflare: Add Support for PTR Records 2020-05-18 11:17:40 +02:00
Ross McFarland
4323bed345 Merge branch 'master' into tcp-healthcheck-support 2020-05-11 07:10:59 -07:00
Ross McFarland
b7e75b700d Fix code coverage for NS1 2020-05-08 08:44:26 -07:00
Ross McFarland
b9575ae484 TCP healthcheck support for Route53 2020-05-08 08:13:27 -07:00
Ross McFarland
27fd659089 NS1 support for TCP healthchecks 2020-05-08 07:57:56 -07:00
Ross McFarland
827b44daba Add TCP health check support to Record 2020-05-08 07:50:02 -07:00
Adam Mielke
f457f53938 Support PowerDNS 4.3.x 2020-05-01 12:56:25 -07:00
Pavan Chandrashekar
d93ddddaf2 Simplify logic, remove unnecessary coverage tests 2020-04-11 02:28:28 -07:00
Pavan Chandrashekar
4c21cfd85b Address review comments. Introduce catchall poolname 2020-04-10 11:06:19 -07:00
Pavan Chandrashekar
a64ec99de8 Support reuse of default pool in rules in Ns1Provider 2020-04-04 01:28:39 -07:00
Ross McFarland
54699e05ce dynamic validation tweak, allow reuse of pool if 2nd occur is a default 2020-04-02 10:51:42 -07:00
Pavan Chandrashekar
bcaaeb21f5 Merge branch 'master' into nsone-country-filter-chain 2020-03-31 11:13:08 -07:00
Pavan Chandrashekar
72eaf0d3af Handle non-existent zones case in extra_changes 2020-03-28 02:21:07 -07:00
Pavan Chandrashekar
a7f01d4c76 Support upgrade of filter chain 2020-03-25 12:36:44 -07:00
Ross McFarland
ee4f59cbb0 Merge branch 'master' into dynamic-pool-validation 2020-03-24 11:58:46 -07:00
Ross McFarland
e52429e31b Merge branch 'master' into fastdns-edgedns-rename 2020-03-24 10:21:50 -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
Pavan Chandrashekar
0ada5a9ad9 Merge branch 'master' of https://github.com/github/octodns into nsone-country-filter-chain 2020-03-18 11:16:15 -07:00
Ross McFarland
fd037e873b Transip v2.1.1, back out test skips and coverage omits 2020-03-16 07:45:32 -07:00
Pavan Chandrashekar
837d3ed4ae Address review comments, add explicit filter chains 2020-03-12 03:01:02 -07:00
Pavan Chandrashekar
92d243df78 Merge branch 'master' of https://github.com/github/octodns into nsone-country-filter-chain 2020-03-10 15:23:45 -07:00
Pavan Chandrashekar
c8f93ea010 Use unittest.skip() to skip tests 2020-03-10 12:32:46 -07:00
Pavan Chandrashekar
3ffde7330a Bypass transip tests, they are blocking octodns CI 2020-03-10 10:14:11 -07:00
Pavan Chandrashekar
d7c55f15c3 Handle dynamic filter chains better 2020-03-09 16:39:02 -07:00
Ross McFarland
9349f20aeb Rename fastdns to edgedns w/backwards compat for now 2020-03-06 17:26:52 -08:00
Pavan Chandrashekar
d68a034a57 Update country filter conditionally instead of changing the default 2020-03-06 12:25:07 -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
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
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