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

739 Commits

Author SHA1 Message Date
Jonathan Leroy
12c3aa64a8 Add zones aliases support to octodns-compare command 2020-10-21 19:11:25 +02:00
Jonathan Leroy
06c18f4063 Add zones aliases support to octodns-report command 2020-10-21 19:11:02 +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
Phelps Williams
270fd9682f Merge branch 'master' into compare_filtering_and_exit_codes 2020-09-03 11:58:10 -07: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
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
Phelps Williams
a8c14a9625 Merge branch 'master' into compare_filtering_and_exit_codes 2020-07-21 14:11:52 -07: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
Phelps Williams
e1b2de656c octodns-compare: Prefix filtering and status code on configuration mismatch 2020-07-20 17:42:47 -07: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
a326b95e08 Merge branch 'master' of https://github.com/github/octodns into ultradns_support 2020-07-13 17:48:16 -07:00
Phelps Williams
d078392bbc UltraDNS adding configurable HTTP request timeout 2020-07-13 17:46:24 -07:00
Phelps Williams
fb2d83e635 UltraDNS: cleaning up exceptions and test endpoint
Also some comment additions
2020-07-13 16:35:32 -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
Anton Shnayder
414c4c526a Avoid escaping semicolon in Selectel DNS 2020-07-06 13:21:40 +03: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
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
84048dbde9 Cloudflare: Make page size configurable 2020-06-22 17:27:41 -04:00
Lance Hudson
9989134286 Merge branch 'master' into patch-3 2020-06-19 15:40:34 -04:00
Dan Hanks
41b3018a79 Change continent code for Timor Leste 2020-06-17 14:44:51 -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
Lance Hudson
90cc9576f5 Increase Cloudflare page size
Increase Cloudflare page size to reduce request count

`GET zones` has a MAX of 50 and a default of 20
https://api.cloudflare.com/#zone-list-zones

`GET zones/:zone_identifier/dns_records` has a MAX of 100 and a default of 20
https://api.cloudflare.com/#dns-records-for-a-zone-list-dns-records
2020-06-11 17:46:29 -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
07279e4804 Add Canadian provinces to geo_data.py 2020-06-03 11:10:54 -04:00
Dan Hanks
559a3994e6 Fix comment < 80 chars 2020-06-03 10:07:35 -04: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
Ross McFarland
87a7595eae Update geo_data to pick up a couple renames 2020-06-02 15:51:41 -07:00
Lance Hudson
a939cf52b0 Cloudflare: Rename _try to _try_request 2020-05-29 16:59:55 -04:00
Lance Hudson
53d654c39d Cloudflare: Add Support for Rate Limit 2020-05-28 22:17:34 -04:00