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

44 Commits

Author SHA1 Message Date
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
Ross McFarland
e43da949a3 Add CAA for CF, DNSimple, and README 2017-08-26 15:39:54 -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
ce0b58d57e Quick-fix disable ALIAS for Route53 & Cloudflare
Cloudflare could potentially support it, but their details are different enough
that i'll need to be looked into specifically later.
2017-06-20 08:39:59 -07:00
zBart
bc98af024b Handle Cloudflare not escaping semicolons 2017-05-03 12:46:42 +02: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