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

984 Commits

Author SHA1 Message Date
Jonathan Leroy
04a2d7a585 Merge branch 'master' into zones-aliases 2020-10-28 16:24:40 +01:00
Jonathan Leroy
eec4c4f81c Remove support for dynamic DNAME records as no provider currently
support them
2020-10-27 20:31:57 +01:00
Jonathan Leroy
b280449969 Add record targets normalizaltion 2020-10-27 11:25:55 +01:00
Jonathan Leroy
6d17b4671a Handle domains not registred at Gandi or not using Gandi's DNS 2020-10-27 11:23:22 +01:00
Jonathan Leroy
7161baa262 Fixes code coverage for unsupported records types 2020-10-26 23:23:32 +01:00
Jonathan Leroy
bfaafeb61b Fixes value of "rrset_name" parameter for domain APEX 2020-10-26 23:10:36 +01:00
Jonathan Leroy
de51e5f531 Add support for DNAME records 2020-10-26 22:18:35 +01:00
Jonathan Leroy
3f85244264 Fixes incorrect domain name in gandi-no-changes.json 2020-10-26 20:30:15 +01:00
Jonathan Leroy
fd136b42d1 Add support for Gandi LiveDNS 2020-10-25 01:08:08 +02:00
Jonathan Leroy
897a033443 Add tests for Manager.get_zones() 2020-10-21 20:02:12 +02:00
Jonathan Leroy
f2a6f870b4 Make each alias zone reference its target zone instead of listing all
aliases zones in the target zone configuration
2020-10-20 22:18:48 +02:00
Jonathan Leroy
7bf0b31367 Revert "Add support for zones aliases"
This reverts commit b926d78c5c.
2020-10-20 19:54:35 +02:00
Jonathan Leroy
2cc91ead71 Merge branch 'master' into zones-aliases 2020-10-20 19:51:56 +02:00
mintopia
e89f309179 Ensure pool caching works for Constellix Provider
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.
2020-10-16 17:59:10 +01:00
mintopia
ce46758790 Add support for dynamic records to Constellix provider 2020-10-01 00:36:25 +01:00
mintopia
5158d28b03 Update endpoint for Constellix provider to only include /domains when working on domain and record resources.
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.
2020-09-10 23:52:23 +01:00
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
Piotr Pieprzycki
5ee68dd896 Merge branch 'master' into azuredns_txt 2020-08-17 09:40:59 +02:00
Piotr Pieprzycki
b4da48b860 Add tests for long txt record, test alias entries 2020-08-11 04:47:05 -04:00
Jonathan Leroy
b926d78c5c Add support for zones aliases
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.
2020-08-03 00:47:22 +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
Piotr Pieprzycki
450cbe0208 Test increase number of zones 2020-07-16 00:23:44 +03:00
Piotr Pieprzycki
53bcb86240 Fix record name in test zone 2020-07-16 00:19:46 +03:00
Piotr Pieprzycki
224c90784a Add SubResource in tests 2020-07-16 00:16:07 +03:00
Piotr Pieprzycki
5a75890021 Add SubResource in tests 2020-07-16 00:10:39 +03:00
Piotr Pieprzycki
7129618919 Add SubResource in tests 2020-07-15 23:52:02 +03: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