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.
This commit adds support for zones aliases. This allows to define one or
multiple zone as aliases of an existing zone without using workarounds
like simlinks and miltiple "zones" entries in the configuration file.
An alias zone is share all of its content with it parent zone, only the
name of the zone is different.
```
zones:
example.com.:
aliases:
- example.net.
- example.org.
sources:
- in
targets:
- out
```
Known issues:
- No documentation,
- Only the `octodns-sync` and `octodns-validate` commands supports
aliases zones at this time,
I added a loop in the manager init function which convert all alias
zone to "real" ones during config validation, however I'm not sure
this is the right approach. Comments welcome.
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>
* 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
...