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

254 Commits

Author SHA1 Message Date
Ross McFarland
9f2b65ec83 Change str() to unicode() to avoid encoding problems 2018-02-24 09:19:23 -08:00
Ross McFarland
543b1c9dbd Fix handling of Cloudflare ALIAS updates 2018-02-24 09:10:57 -08:00
Ross McFarland
9f7a114928 Merge branch 'master' into cloudflare-consistent-contents 2018-02-24 07:53:14 -08:00
Sergei Shmanko
29bc1f3af3 fix logging for update/delete_pcent_threshold 2018-02-22 12:32:12 +02:00
Ross McFarland
4b44ab14b1 Use MIN_TTL, not 120 literal 2018-02-19 11:40:32 -08:00
Ross McFarland
886a26bc6f Extract _record_for from populate, use round trip in _apply_Update
This will ensure that we have exactly the same logic/behavior across the
board when turning records into content and prevent the :-( hack that was in
here before. It was missing the max(min, ttl) bit we throw everything else
through and this makes that consistent. Most importantly it'll prevent us
from having to fix bugs or make improvements in multiple code paths in the
future.
2018-02-19 11:30:35 -08:00
Hirotaka Nakajima
743af63989 Remove unnecessary argument "cdn" 2018-02-17 23:00:31 +09:00
Steve Coursen
eb97b43d28 length of answers check is unnecessary 2018-02-15 10:49:43 -05:00
Steve Coursen
786a4fb06a Merge branch 'master' of ssh://github.com/github/octodns 2018-02-15 10:16:23 -05:00
Masaki Tagawa
c6aae7b9b3 Always prepend a legal name to the zone name 2018-02-14 06:24:57 +09:00
Masaki Tagawa
2a16e988e0 Generate the zone name following the spec of Google Cloud DNS
Zone name must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes, and be 63 characters or less.
For instance, a reverse zone of IPv6 may violate the spec on the first character and the length of the zone name.
2018-02-14 01:16:09 +09:00
Steve Coursen
c20296ef90 Merge branch 'master' of ssh://github.com/github/octodns 2018-02-13 10:10:32 -05:00
Steve Coursen
2e17176442 Move if branch around to avoid creating unnecessary filter chains 2018-02-13 09:14:05 -05:00
Ross McFarland
22d8914ef2 Merge branch 'master' into new-sshfp-values 2018-02-12 12:02:36 -08:00
trnsnt
20d9ce7991 Fix SRV and SSHFP record for OVH provider 2018-02-12 17:31:27 +01:00
Ross McFarland
093398ff94 Support for SSHFP ECDSA (3) and SHA-256 (2)
RFC 6594 & RFC 7479
2018-02-11 17:01:38 -08:00
Ross McFarland
dfe7d33d23 Merge branch 'master' into cloudflare-proxied 2018-02-09 07:52:45 -05:00
Paul van Brouwershaven
c6634b3ccc Simplify _include_change check 2018-02-09 13:44:58 +01:00
Paul van Brouwershaven
c4179ef0e8 Allow proxied records with the same name 2018-02-07 17:35:19 +01:00
Paul van Brouwershaven
8a7145f49f Changes according to review 2018-02-07 14:53:18 +01:00
Paul van Brouwershaven
c848860b1f Add SRV support to Cloudflare provider 2018-02-02 09:33:02 +01:00
Paul van Brouwershaven
b5e7af0398 Option to handle Cloudflare proxied records
This change imports records that are marked as proxied so that they can be synced to other DNS providers as described in
[this support acticle](https://support.cloudflare.com/hc/en-us/articles/115000830351-How-to-configure-DNS-for-CNAME-partial-setup-when-managing-DNS-externally).
Records that use this functionality will be ignored by this provider and not be synced back to Cloudflare as we don't know the origin record values that would be required.

This change does not allow you to enable, disable or configure the CDN itself as that would require a lot of metadata to be handled by OctoDNS.
The intention of this change is to allow users to run a multi-DNS provider setup without sending any traffic to their origin directly.

See also github/octodns#45
2018-01-31 09:57:36 +01:00
Adam Smith
d8837a14ad add tests for DnsMadeEasy provider 2018-01-27 21:58:05 -08:00
Adam Smith
4dc7c582a3 add ratelimit_delay parameter 2018-01-25 13:01:39 -08:00
Adam Smith
712d1d86aa add DnsMadeEasy to README, sandbox environment toggle 2018-01-22 21:45:21 -08:00
Adam Smith
ef2ebf7199 add exists for zone creation detection 2018-01-21 23:37:01 -08:00
Adam Smith
449330bbf3 add DnsMadeEasy Provider 2018-01-21 22:47:46 -08:00
Ross McFarland
af435c3130 Handle MX preference of 0 2018-01-21 06:31:37 -08:00
Ross McFarland
c16b8d6d78 RateLimitException.period is coming back as str now 2018-01-09 07:28:36 -08:00
Ross McFarland
1fc735e617 Merge branch 'master' into master 2018-01-09 07:22:17 -08:00
Steve Coursen
9785e40688 use defaultdict 2018-01-08 22:04:42 -05:00
Steve Coursen
d8ba6a2b41 slight code cleanup, coverage increase 2018-01-08 22:02:46 -05:00
Steve Coursen
241e6cc0ce E501 trim lines 2018-01-08 21:57:13 -05:00
Steve Coursen
dcdde5db5d Handle multiple answers correctly when dersializing 2018-01-08 21:46:59 -05:00
Steve Coursen
154ca64038 Fix serialization of multiple answers, that had caused a ResourceException 2018-01-08 20:13:20 -05:00
Ross McFarland
e45fec3956 Merge branch 'master' into master 2018-01-08 14:12:03 -08:00
Terrence Cole
e875ee7f5d Add a comment explaining our update scheme. 2018-01-08 11:07:03 -08:00
Steve Coursen
dc43c43866 Increased test coverage 2018-01-08 10:02:27 -05:00
Steve Coursen
25dfaf2310 Merge branch 'master' into master 2018-01-06 23:28:20 -05:00
Ross McFarland
e300f1c301 Merge branch 'master' into cloudflare-alias-support 2018-01-06 18:59:41 -08:00
Ross McFarland
c8e71955bb Merge branch 'master' into plan-outputs 2018-01-06 16:54:04 -08:00
Ross McFarland
0659eda451 Add Cloudflare ALIAS record support
Translates them to/from root CNAME
2018-01-06 16:53:11 -08:00
Ross McFarland
ad1d0f0fe8 Fixes and unit tests for new plan output functionality 2018-01-06 16:26:48 -08:00
Ross McFarland
85af9c5f88 Merge remote-tracking branch 'origin/master' into cloudflare-updates 2018-01-06 15:52:08 -08:00
Terrence Cole
80aed00523 Pull transformer above the loop for delete as well. 2018-01-06 11:18:33 -08:00
Terrence Cole
cdf26ffae4 Refactor the output transformer loop. 2018-01-06 10:35:47 -08:00
Terrence Cole
41622009e4 Set a default rate-limit delay. 2018-01-06 10:32:25 -08:00
Terrence Cole
88bbd66300 Move request delay to a central location. 2018-01-06 10:29:22 -08:00
Ross McFarland
ddf53b7a47 No changes bold, not h2 2018-01-06 07:50:23 -08:00
Stephen Coursen
34f2432c3f after discussion, we should shuffle if there's more than 1 answer 2018-01-05 22:45:00 +00:00