The caching of pools for the Constellix provider will now cache based
on the type of pool and the name. Previously it was caching based on
the name only.
In order to add support for pools and other API resources from Constellix, we need to update the base URL to not contain domains and instead specify this where it's needed.
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>