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

460 Commits

Author SHA1 Message Date
Guillaume Gelin
31105cc472 Implement octodns-sync --source
It can be useful to only synchronize zones that use a certain source. For
example, in a situation where some zones use a dynamic source and others don't,
you probably want to synchronize those with a dynamic source regularly, and
only synchronize the others when a change is made.

Although we only synchronize the zones that use a given source, we still want
to synchronize all sources to avoid deleting records that would live in another
source of the zone.
2020-08-27 16:16:24 +02:00
John Dale
9e372fee19 Merge branch 'easydns_provider' of https://github.com/actazen/octodns into easydns_provider 2020-07-21 20:01:10 +00:00
John Dale
9e990632c4 Update to remove DYNamic A records
* Removed conversion of DYN records to A records
* Updated test fixtures to change test DYN to an A record
2020-07-21 19:58:24 +00:00
John Dale
10abfd870b Merge branch 'master' into easydns_provider 2020-07-20 19:04:03 -04:00
John Dale
6a2c7909bd Merge branch 'easydns_provider' of https://github.com/actazen/octodns into easydns_provider 2020-07-20 23:01:30 +00:00
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
Ross McFarland
a6a9f03cd8 Merge branch 'master' into srv-validation 2020-07-20 13:44:22 -07:00
Ross McFarland
e6e745d1b7 Merge branch 'master' into patch-1 2020-07-20 13:29:43 -07:00
Justin B Newman
427b8a1a06 Add support for wildcard SRV records, as shown in RFC 2782 2020-07-20 12:48:47 -05:00
John Dale
ecfaa1160b Merge branch 'master' into easydns_provider 2020-07-18 04:08:54 -04: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
Phelps Williams
0a342aa6c2 EnvVar: Integrating review feedback and finishing tests 2020-07-17 12:09:20 -07:00
Phelps Williams
4d006e94a2 Adding environment variable record injection
Per the discussion on https://github.com/github/octodns/issues/583
here is a work in progress of environment variable injection for
discussion.
2020-07-15 18:17:33 -07:00
Phelps Williams
5c0d5831ac UltraDNS unit test improvements 2020-07-13 16:37:21 -07:00
Phelps Williams
da9b3aed5b Removing NS modification tests
Root NS modification support is being developed on
https://github.com/github/octodns/pull/434

Removing attempts to validate this functionality for now.
2020-07-09 15:27:23 -07: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
Phelps Williams
ea5a5f4ab3 Merge branch 'master' of https://github.com/github/octodns into ultradns_support 2020-07-01 17:44:52 -07:00
Phelps Williams
52ed5fa022 Ultra interface with support for basic records 2020-07-01 17:41:45 -07: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
2277ad714a Merge branch 'master' into patch-1 2020-06-22 17:43:38 -04: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
Lance Hudson
b80d1575e6 Update tests with new per_page params 2020-06-11 17:57:32 -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