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

37 Commits

Author SHA1 Message Date
Ross McFarland
303d0532c8 Implement SUPPORTS_DYNAMIC functionality, no providers 2018-12-03 14:40:43 -08:00
Ross McFarland
6a7a54be06 Include TTL in Dyn CCA record values 2018-11-05 09:48:03 -08:00
Ross McFarland
cee7677ae4 Implement Zone.add_record lenient across our providers 2018-05-30 12:41:59 -07:00
Ross McFarland
a5c560f203 Rename Dyn._monitor_matches to _monitor_doesnt_match 2018-04-04 07:33:57 -07:00
Ross McFarland
db6b9d2ada Remove stale comment about dyn property locations 2018-04-02 08:09:32 -07:00
Ross McFarland
e6d8669611 Implement healthcheck protocol and port for Dyn 2018-03-31 14:31:15 -07:00
Ross McFarland
084f1e7c57 Consolidate Dyn monitor comparison logic 2018-03-31 13:05:04 -07:00
Ross McFarland
5372e86e1c Switch to named params in _extra_changes 2018-03-31 12:39:32 -07:00
Ross McFarland
afd592f5a3 Merge remote-tracking branch 'origin/master' into configurable-geo-healthcheck 2018-03-31 12:16:10 -07:00
Ross McFarland
4904a0ea20 Sort existing_rulesets by _ordering desc, so default is removed first 2018-03-24 17:58:08 -07:00
Ross McFarland
7a755d15be Make sure to insert new rulesets at the "end"
Dyn will still match them, even while they're empty before we've had a
chance to add the respons pools to them which is BAD and caused a
medium-size outage (thankfully not as bad as it could have been.) Ideally
we'd use publish=False and stage things, but that seems broken in the client
lib, there's no way to send publish=N. I also tried sending the
response_pool_ids as part of the create calls and response pool config if
one didn't exist, but neither of those routes worked :-(
2018-03-24 10:28:09 -07:00
Dirkjan Bussink
9cde37993b Really fix lint issue, should read better 2018-03-22 09:01:04 +01:00
Dirkjan Bussink
ced6350cc9 Fix linting issues 2018-03-22 08:57:32 +01:00
Dirkjan Bussink
a7f6da96d3 Merge branch 'master' into configurable-geo-healthcheck 2018-03-22 08:51:51 +01:00
Ross McFarland
7228c5b294 Merge remote-tracking branch 'origin/master' into show-zone-create 2018-03-03 10:18:32 -08:00
Josh Soref
5d2ba2e715 Spelling (#214)
* spelling: ancillary
* spelling: antarctica
* spelling: australia
* spelling: authentication
* spelling: continental
* spelling: constructor
* spelling: conversion
* spelling: creation
* spelling: doesn't
* spelling: easily
* spelling: efficiently
* spelling: equivalent
* spelling: essentially
* spelling: everything
* spelling: exactly
* spelling: be
* spelling: expensive
* spelling: supports
* spelling: healthcheck
* spelling: immediately
* spelling: ignored
* spelling: invocation
* spelling: itself
* spelling: leftovers
* spelling: missing
* spelling: natural
* spelling: nonexistent
* spelling: peculiarities
* spelling: pointing

This change hit a line length limitation, so I'm wrapping it and
adding a period which appears to match local style...

* spelling: quicker
* spelling: response
* spelling: requested
* spelling: redirect
* spelling: traffic
* spelling: unknown
* spelling: uploaded
* spelling: useful
* spelling: separately
* spelling: zone
2018-02-27 09:09:47 -08:00
Ross McFarland
b54630878f Implement populate exists for DynProvider 2018-01-21 14:37:31 -08:00
Ross McFarland
9a30b058e2 Merge remote-tracking branch 'origin/master' into configurable-geo-healthcheck 2017-10-18 10:57:32 -07:00
Ross McFarland
f39e1d28c8 Fix log formatting and lint compliance 2017-10-18 10:38:09 -07:00
Tim Hughes
8352ab89ef adds warning to dyn provider when it cannot load a trafficdirector 2017-10-17 16:16:17 +01:00
Ross McFarland
70120bedc8 Implement "chunked" TXT/SPF value support for long values
This implements it transparently at Record level. Providers that need things to
be chunked (seems to just be Route53 an Dyn) switch to use `chunked_values`, but
everything else can stick with `values`. I've run through each provider I have
access to verifying that things operate as expected/required. OVH and Azure are
untested.
2017-10-05 10:04:29 -07:00
Ross McFarland
1e68cd6ae9 Add CAA support to Dyn, PowerDNS, and Route53 2017-08-26 09:03:59 -07:00
Ross McFarland
1340aee8a9 MX RFC1035 - priority -> preference & value -> exchange 2017-06-23 13:04:38 -07:00
Ross McFarland
a97818b6ec populating existing provider state is lenient
- adds lenient flag to Record.new, problems during validation are just
  warnings if it's true
- target populate calls during the plan phase pass lenient=True
- make all of the provider.populate call logging consistent including both
  target and lenient
- add source=self to Record.new in a few places that were missing it
2017-06-23 09:01:25 -07:00
Ross McFarland
852c101388 Switch to an explicit SUPPORTS setup 2017-06-21 17:08:16 -07:00
Ross McFarland
b6cd08e659 Update DSFMonitor labels to include type
Would have prevented both A and AAAA exisiting on the same node.
2017-06-21 14:34:21 -07:00
Ross McFarland
72eff706da Dyn support for configrable healthchecks and _extra_changes support
More thorough unit tests while I'm in here. Ended up doing some hacks/monkey
patching of DSFMonitor as the client library's object doesn't seem to be fully
functional/useful and has inconsitent behavior.
2017-06-21 12:40:31 -07:00
Ross McFarland
0e8bc9a3d7 Dyn monitor config support, includes ability to update
Also fixes some mocking data to match what the Dyn client libs are
expecting.
2017-06-20 14:43:27 -07:00
Ross McFarland
0c1a8fe964 Add custom healtcheck host & path to Dyn geo records 2017-06-15 10:12:17 -07:00
Ross McFarland
11cf155477 Pass of ALIAS support across supported providers. Allow ALIAS ttl
Supports ALIAS for Dnsimple, Dyn, Ns1, and PowerDNS. Notes added to readme about
some of the quirks found while working with them. TTL seems to mostly be
accepted on ALIAS records so it has been added back, what it means seems to vary
across providers, thus notes.
2017-06-03 09:44:05 -07:00
Ross McFarland
1aae060f6d Add User-Agent header to Dyn monitors 2017-05-11 08:43:49 -07:00
Ross McFarland
20351ba442 DynProvider Traffic Directors want lowercase province without country 2017-04-13 08:43:02 -07:00
Ross McFarland
4f53f7d0f7 Rework DynProvider._check_dyn_sess based on further reading of the code
It's actually session creation that isn't thread-safe so we need to lock around
that.
2017-03-29 12:00:43 -07:00
Ross McFarland
9ff90a9b4c DynectSession creation isn't thread-safe so we need to lock around it 2017-03-29 10:57:24 -07:00
Ross McFarland
fe1d1b22d7 Handle creating per-thread DynectSessions 2017-03-27 15:27:45 -07:00
Ross McFarland
da4632fb7c docstrings for each provider showing config 2017-03-17 10:03:27 -07:00
Ross McFarland
7957a4c018 Initial import of OSS OctoDNS 2017-03-15 15:38:10 -07:00