Ross McFarland
5e1f653848
Merge remote-tracking branch 'origin/master' into srv_null_records
2021-02-18 07:52:47 -08:00
Mark Tearle
403be8bb83
Fix handling of NULL SRV records in Cloudflare provider
2021-02-15 22:23:45 +08:00
Mark Tearle
5852ae7a2f
Detect changes to LOC record correctly
2021-02-09 20:41:44 +08:00
Mark Tearle
5963c8b894
Force order of Delete() -> Create() -> Update() in Cloudflare provider
...
Addresses issues with changing between A, AAAA and CNAME records in
both directions with the Cloudflare API
See also: github/octodns#507
See also: github/octodns#586
See also: github/octodns#587
2021-02-09 20:41:42 +08:00
Mark Tearle
8338e8db58
Add LOC record support to Cloudflare provider
2021-02-09 20:41:41 +08:00
Lance Hudson
84048dbde9
Cloudflare: Make page size configurable
2020-06-22 17:27:41 -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
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
Daniel Weissengruber
74a13e4a19
Cloudflare: Add Support for PTR Records
2020-05-18 11:17:40 +02:00
Ross McFarland
bc3ce2071c
Flipped bool logic
2020-03-30 07:12:25 -07:00
Ross McFarland
1fb4f4facd
Avoid double existing_records lookup
2020-03-30 07:04:07 -07:00
Maik Zumstrull
f590f201ea
Use dict to speed up record search
...
This dict is created earlier, presumably to speed up this exact lookup, but it was using the list form instead, requiring a linear scan for each item.
2020-03-26 14:23:36 +00:00
Mark Mercado
cf3dc94315
use the generic replacement field specifier
2020-02-05 14:40:44 -05:00
Ross McFarland
5d984ba5a9
Merge branch 'master' into feature/cloudflare-auth-bearer
2020-02-05 08:50:13 -08:00
Mark Mercado
e235796865
support and test old and new authn methods
2019-09-28 08:57:54 -04:00
Mark Mercado
16121be4de
support email/token and just token for cloudflare
2019-09-25 20:53:45 -04:00
Mark Mercado
e18dfe1c19
switch from X-Auth-{Email,Key} to Authorization for Cloudflare
2019-09-13 08:09:21 -04: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
Ross McFarland
bc6e492f35
Merge remote-tracking branch 'origin/master' into dynamic-records
2018-12-10 08:44:57 -08:00
Ross McFarland
f52005bf60
Fix deletion of Cloudflare ALIAS reocrds
2018-12-09 14:24:53 -08:00
Ross McFarland
303d0532c8
Implement SUPPORTS_DYNAMIC functionality, no providers
2018-12-03 14:40:43 -08:00
Bart S
c26c8b7c3f
Added ALIAS to the support list of proxiable record types
2018-11-12 16:08:05 +01:00
Matt
a0eaefb330
Add: Documentation on how to utilise the new behaviour.
2018-10-18 10:46:12 +11:00
Matt
9ff5942d19
Add: Ability to manage "proxied" flag of "A", "AAAA" and "CNAME" records via
...
YAML configuration (see "CloudflareProvider" class docstring for details).
2018-10-18 10:42:31 +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
c752005856
CloudflareProvider._hash_data is no longer used
2018-10-15 16:34:25 -07:00
Ross McFarland
e0c4e60c43
Vastly improved CloudflareProvider _apply_Update, much safer
2018-10-15 16:29:36 -07:00
Ross McFarland
cee7677ae4
Implement Zone.add_record lenient across our providers
2018-05-30 12:41:59 -07:00
Ross McFarland
3ea78af8e1
pycodestyle updates, mostly escaping \, couple r's, ignore break on binary
2018-04-15 09:58: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
543b1c9dbd
Fix handling of Cloudflare ALIAS updates
2018-02-24 09:10:57 -08: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
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
Ross McFarland
1f40b98889
Implement populate exists for CloudflareProvider
2018-01-21 14:40:07 -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
fd9af2bd25
Major reworking of Cloudflare record update
2017-12-27 09:54:18 -08:00
Ross McFarland
a558fde6df
Fixes for cloudflare CAA support
2017-09-06 12:08:08 -07:00