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

357 Commits

Author SHA1 Message Date
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
Adam Smith
fd3de1e08b add Zone File source, reads Bind compatible zone files 2018-10-14 16:53:05 -07:00
Adam Smith
a803371fa4 add AXFR source to OctoDNS
Adds a new source requested in #239. This source allows a user to pull data from
a legacy system (Bind9, etc.) that does not have an API/existing provider via
AXFR Zone Transfer.
2018-07-16 01:34:32 -07:00
Ross McFarland
b01cc18706 Merge branch 'master' into etc-hosts-provider 2018-06-14 07:28:17 -07:00
Ross McFarland
928661b2f2 Merge branch 'master' into route53_auth_methods 2018-06-14 07:22:14 -07:00
Adam Smith
be6019f119 change all answers from NS1 to absolute for types that require it 2018-06-13 22:44:45 -07:00
Adam Smith
446e8485b3 if user does not explicitly set Access Key ID and Secret Access Key then use
boto3's methods as fallback
2018-06-13 21:18:21 -07:00
Ross McFarland
1e2da34361 Use path.join, add loop detection & tests 2018-06-09 16:21:25 -07:00
Ross McFarland
36b67b8b7a Implement EtcHostsProvider, content to be used in /etc/hosts
...for testing or emergencies
2018-06-01 20:59:03 -07:00
Ross McFarland
206d77d5a6 Include a provider test of populate w/lenient=True 2018-05-30 12:56:25 -07:00
Ross McFarland
1103b4c383 Implement Zone.add_record lenient param/support and more tests 2018-05-30 12:30:20 -07:00
Ross McFarland
adf7154f6b TDD lenient add_record 2018-05-30 12:22:35 -07:00
Ross McFarland
3ea78af8e1 pycodestyle updates, mostly escaping \, couple r's, ignore break on binary 2018-04-15 09:58:36 -07:00
Tommy Yang
b000c07c80 Skip unsupported records for NS1 & DNSimple
Implements the unsupported records skipping fix [proposed by ross](https://github.com/github/octodns/issues/176#issuecomment-359294960) in #176 for DNSimple and additionally for NS1.

Fixes #176 and also the NS1 version of it (`AttributeError: 'Ns1Provider' object has no attribute '_data_for_DNSKEY'`) that currently affect domains that have DNSSEC enabled.
2018-04-09 05:50:22 -07:00
Ross McFarland
19956f14bc Include fqdn in Route53 health check refs, not name
This will ensure unique refs for different zones. Without them the ref isn't
enough to make sure we're looking at the right thing (notably when we're
gc'ing old health checks.) This also adds a bit more debugging around health
checks.
2018-04-04 17:38:00 -07:00
Ross McFarland
b51a9148b8 Route53 support for healthcheck protocol & port 2018-03-31 14:47:22 -07:00
Ross McFarland
e6d8669611 Implement healthcheck protocol and port for Dyn 2018-03-31 14:31:15 -07:00
Ross McFarland
849a97f161 Add healthcheck protocol validation, HTTP or HTTPS 2018-03-31 13:35:48 -07:00
Ross McFarland
9752cb0a12 Add protocol and port to octodns.healthcheck configurables 2018-03-31 13:10:06 -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
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
a7f6da96d3 Merge branch 'master' into configurable-geo-healthcheck 2018-03-22 08:51:51 +01:00
Michael McAllister
8c1fe707e8 ISSUE #26 Skip Alias recordset for Route53 Provider 2018-03-04 18:02:51 +11:00
Ross McFarland
fc4bf6b8ce Merge branch 'master' into googledns-semicolon-escapes 2018-03-03 10:43:26 -08:00
Ross McFarland
7228c5b294 Merge remote-tracking branch 'origin/master' into show-zone-create 2018-03-03 10:18:32 -08:00
Ross McFarland
876c09dcc0 Flesh out UT for new Plan.exists messaging 2018-03-03 10:12:34 -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
9f2b65ec83 Change str() to unicode() to avoid encoding problems 2018-02-24 09:19:23 -08:00
Masaki Tagawa
7215d80230 PEP8 2018-02-18 10:36:02 +09:00
Masaki Tagawa
5439504dd0 Merge branch 'master' into googledns-semicolon-escapes 2018-02-18 10:31:11 +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
Masaki Tagawa
f62f824966 Escape unescaped semicolons coming out of Google Cloud DNS 2018-02-13 23:43:30 +09: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
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
Adam Smith
d8837a14ad add tests for DnsMadeEasy provider 2018-01-27 21:58:05 -08:00
Eric Vergne
ff305ca1bb Implement populate exists for OvhProvider 2018-01-22 17:40:36 +01:00
Ross McFarland
7566250f96 Implement populate exists for DnsimpleProvider 2018-01-21 14:58:33 -08:00
Ross McFarland
88ff1729ab Implement populate exists for DigitalOceanProvider 2018-01-21 14:55:53 -08:00
Ross McFarland
720e8eb434 Implement populate exists for AzureProvider 2018-01-21 14:49:20 -08:00