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

36 Commits

Author SHA1 Message Date
Daniel Weissengruber
74a13e4a19 Cloudflare: Add Support for PTR Records 2020-05-18 11:17:40 +02:00
Ross McFarland
59b12dd9c0 Remove CloudFlare test copy, and specifically test token auth 2020-02-15 16:02:20 -08:00
Ross McFarland
7958233fcc Consistently order changes :-/
Many providers make their modifications in the order that changes comes. In
python3 this causes things to be inconsistently ordered. That mostly works, but
could result in hidenbugs (e.g. Route53Provider's batching could be completely
different based on the order it sees changes.) Sorting changes consistently
is a good thing and it shouldn't hurt situations where providers are already
doing their own ordering. All-in-all more consistent is better and we have to be
explicit with python 3.
2019-10-07 09:17:48 -07:00
Ross McFarland
bfa1fadde9 Fix CloudflareProvider test ordering assumptions 2019-10-07 08:47:01 -07:00
Ross McFarland
f252aa3b98 Merge remote-tracking branch 'origin/master' into python3-start 2019-10-05 07:20:47 -07:00
Ross McFarland
a9d0eef3ba Lots of text_type 2019-07-29 08:37:47 -07:00
Kitten King
daa6fecc9b Fix Typos 2019-07-20 06:31:05 +00:00
cclauss
158add8eb6 Modernize Python 2 code to prepare for Python 3 2019-07-12 02:11:43 +02:00
Adam Smith
10452d1546 CloudflareProvider: unpack long SRV records correctly 2019-03-04 11:46:22 -08:00
Matt
bcff231e35 Alter - New tests to be more unit-test-like. 2018-10-18 21:55:48 +11:00
Matt
6ceb35c2fc Add: New tests. 2018-10-18 10:46:12 +11:00
Matt
18f29f1c6b Alter: Existing tests. 2018-10-18 10:46:12 +11:00
Ross McFarland
aee786dd01 Explicit handling of SRV & CAA in _gen_key, tests for those cases 2018-10-16 07:08:01 -07:00
Ross McFarland
0c33d3acac Handle the MX special case around content 2018-10-15 20:18:14 -07:00
Ross McFarland
db8e291d53 Implement CloudflareProvider create + delete -> update conversion 2018-10-15 19:51:26 -07:00
Ross McFarland
e0c4e60c43 Vastly improved CloudflareProvider _apply_Update, much safer 2018-10-15 16:29:36 -07: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
dfe7d33d23 Merge branch 'master' into cloudflare-proxied 2018-02-09 07:52:45 -05:00
Paul van Brouwershaven
6f0b0ddb08 Test different exception types 2018-02-08 08:30:27 +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
Ross McFarland
1f40b98889 Implement populate exists for CloudflareProvider 2018-01-21 14:40:07 -08:00
Ross McFarland
94bfb1e507 Switch populate to return exists, cleaner setup 2018-01-21 14:06:20 -08:00
Ross McFarland
1e71bce907 Add create param to Plan 2018-01-21 13:47:58 -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
3c3f63b450 Unit tests for reworked Cloudflare updates 2018-01-06 15:51:48 -08:00
Ross McFarland
fd9af2bd25 Major reworking of Cloudflare record update 2017-12-27 09:54:18 -08:00
Paul van Brouwershaven
4b41762642 Use target.id instead of class name 2017-09-29 10:09:16 +02:00
Ross McFarland
e43da949a3 Add CAA for CF, DNSimple, and README 2017-08-26 15:39:54 -07:00
Ross McFarland
908698da49 Fix major performance issue with add_record O(N^2)
Before, 1-2k record took ~10s and more than that was just painful, 5k took
forever. This records things to keep a dict of nodes with a set of records so
that we can quickly "jump" to the point we're looking for without having to
search. 10k records now takes ~5s.
2017-07-02 18:23:45 -07:00
Ross McFarland
e41f0d7d78 Wrap a long line in test_octodns_provider_cloudflare.py 2017-05-03 06:24:37 -07:00
zBart
bc98af024b Handle Cloudflare not escaping semicolons 2017-05-03 12:46:42 +02:00
Ross McFarland
7957a4c018 Initial import of OSS OctoDNS 2017-03-15 15:38:10 -07:00