Commit Graph

149 Commits

Author SHA1 Message Date
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
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
Ross McFarland af435c3130 Handle MX preference of 0 2018-01-21 06:31:37 -08:00
Ross McFarland 1fc735e617 Merge branch 'master' into master 2018-01-09 07:22:17 -08:00
Ross McFarland e45fec3956 Merge branch 'master' into master 2018-01-08 14:12:03 -08:00
Steve Coursen b06c14deae Fix E501 line too long 2018-01-08 12:28:25 -05: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 fdea900537 Correct total_count in Cloudflare record fixtures 2018-01-06 16:53:34 -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 3c3f63b450 Unit tests for reworked Cloudflare updates 2018-01-06 15:51:48 -08:00
Terrence Cole 8d7eca21e9 Get lint green on test code too. 2018-01-05 15:56:06 -08:00
Steve Coursen 481bbe10f6 add geo support for ns1 2017-12-28 16:01:56 -05:00
Steve Coursen 61a86810ee add geo support for ns1 2017-12-28 16:01:22 -05:00
Ross McFarland fd9af2bd25 Major reworking of Cloudflare record update 2017-12-27 09:54:18 -08:00
Terrence Cole 1903b242b5 Merge branch 'master' of https://github.com/github/octodns 2017-12-15 11:33:39 -08:00
Ross McFarland 3d0f5aeca0 Config-based plan_output
Refactors the provider class lookup and kwarg processing so that it can be
reused for plan_output.
2017-12-02 11:40:55 -08:00
Ross McFarland f50d9b6087 Extract plan from base.py into plan.py 2017-12-02 10:31:59 -08:00
Adam Smith ef8d66ff9c Transform @ in Digitalocean API output to zone name 2017-11-23 22:30:39 -08:00
Steve Coursen 1479d8804f Merge branch 'ns1_geo' of ssh://github.com/nsone/octodns into ns1_geo 2017-11-14 13:14:52 -05:00
Steve Coursen ce5ecc52e3 fix broken test by updating the actual format of the answers 2017-11-14 13:14:03 -05:00
Adam Smith feec4a6821 Add DigitalOcean provider 2017-11-12 23:50:52 -08:00
Ross McFarland 454f7f8c8f Add formal CAA support to YamlProvider 2017-11-08 06:26:18 -08:00
trnsnt 6b1a8f8ccf OVH: Add support of DKIM records 2017-10-30 20:29:11 +01:00
Ross McFarland 4b740a48ff Merge branch 'master' into master 2017-10-30 11:00:25 -07:00
Paul van Brouwershaven 6261ded879 Add more include/exclude tests 2017-10-30 18:34:22 +01:00
Adam Smith bf1896329b validate values for empty string or None value
dump does not write invalid value(s) to yaml
2017-10-29 10:37:18 -07:00
Ross McFarland e91f773a93 Merge branch 'master' into leient-from-config 2017-10-28 10:09:25 -07:00
Adam Smith 00aaa3bf4d set default value for nsone cname to None, use first value if non-zero length 2017-10-27 09:53:38 -07:00
Ross McFarland bf4f7dd42d Allow enabling lenient on a per-record basis with octodns.lenient
```
---
'':
    octodns:
        ignored: True
        lenient: True
    type: CNAME # not valid to have a root cname
    value: foo.com.
2017-10-26 06:30:38 -05:00
Terrence Cole 3cf6540aaa Merge remote-tracking branch 'upstream/master' 2017-10-19 09:25:36 -07:00
Ross McFarland f39e1d28c8 Fix log formatting and lint compliance 2017-10-18 10:38:09 -07:00
Tim Hughes 8352ab89ef adds warning to dyn provider when it cannot load a trafficdirector 2017-10-17 16:16:17 +01:00
Petter Hassberg b027e5ca4c Merge branch 'master' into google_cloud_provider 2017-10-14 19:42:38 +02:00
Petter Hassberg 7958618f63 Use uuid4 for zone name in GoogleCloudProvider
use uuid4().hex to ensure unique zone_name generation and thereby streamline with the other providers.
2017-10-14 19:32:24 +02:00
Ross McFarland ffeceb39b1 Handle Manager.dump with an empty Zone 2017-10-13 13:15:24 -07:00
Joe Williams 50ac2f794c add tests 2017-10-10 14:39:25 -07:00
Joe Williams a012e923f6 add ability to configure update/delete thresholds 2017-10-10 13:54:52 -07:00