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
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
7228c5b294
Merge remote-tracking branch 'origin/master' into show-zone-create
2018-03-03 10:18:32 -08:00
Ross McFarland
9f2b65ec83
Change str() to unicode() to avoid encoding problems
2018-02-24 09:19:23 -08:00
Steve Coursen
eb97b43d28
length of answers check is unnecessary
2018-02-15 10:49:43 -05:00
Steve Coursen
2e17176442
Move if branch around to avoid creating unnecessary filter chains
2018-02-13 09:14:05 -05:00
Ross McFarland
3ef91326e8
Implement populate exists for Ns1Provider
2018-01-21 14:35:32 -08:00
Ross McFarland
c16b8d6d78
RateLimitException.period is coming back as str now
2018-01-09 07:28:36 -08:00
Steve Coursen
9785e40688
use defaultdict
2018-01-08 22:04:42 -05:00
Steve Coursen
d8ba6a2b41
slight code cleanup, coverage increase
2018-01-08 22:02:46 -05:00
Steve Coursen
241e6cc0ce
E501 trim lines
2018-01-08 21:57:13 -05:00
Steve Coursen
dcdde5db5d
Handle multiple answers correctly when dersializing
2018-01-08 21:46:59 -05:00
Steve Coursen
154ca64038
Fix serialization of multiple answers, that had caused a ResourceException
2018-01-08 20:13:20 -05:00
Steve Coursen
dc43c43866
Increased test coverage
2018-01-08 10:02:27 -05:00
Stephen Coursen
34f2432c3f
after discussion, we should shuffle if there's more than 1 answer
2018-01-05 22:45:00 +00:00
Stephen Coursen
e6cda62284
Only add shuffle if there is more than 1 answer *and* any of the answers have geo
2018-01-05 22:34:15 +00:00
Stephen Coursen
6c91a92a72
Add geotarget filter, change log level to debug
2018-01-05 19:24:38 +00: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
Steve Coursen
ce5ecc52e3
fix broken test by updating the actual format of the answers
2017-11-14 13:14:03 -05:00
Steve Coursen
2cc17ffc7a
pep8 cleanup
2017-11-13 13:58:12 -05:00
Steve Coursen
0cc20afabd
pep8 cleanup
2017-11-13 13:57:43 -05:00
Steve Coursen
0dfcc6f6f2
Send appropriate meta along for A and AAAA records
2017-11-13 09:37:03 -05: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
22591ae84b
Add CAA support for NS1
2017-08-26 09:38:21 -07:00
Ross McFarland
818c1e9cc6
Unit tests for ns1 escape handling and fix
2017-07-05 14:28:01 -07:00
Ross McFarland
8d7b3fb101
Remove ; escapes before sending to ns1 and when pulling from
2017-07-05 14:09:05 -07:00
Ross McFarland
06fb578550
Include sleep duration in ns1 RateLimitException log
2017-07-02 10:47:13 -07:00
Ross McFarland
d9806e851f
NS1 RateLimitException, just sleep for e.period
2017-07-02 10:45:58 -07:00
Ross McFarland
a44b82c2c7
NS1 rate_limit_delay param, unit tests for rate limit handling
2017-06-28 04:11:46 -07:00
Ross McFarland
0fb88a959a
Add retry to ns1 provider
2017-06-28 03:26:23 -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
a36605e97e
Merge branch 'master' into alias-support
2017-06-04 14:18:47 -07:00
Ross McFarland
1b1590011c
NS1 does not support SSHFP
2017-06-04 14:07:12 -07:00
Ross McFarland
11cf155477
Pass of ALIAS support across supported providers. Allow ALIAS ttl
...
Supports ALIAS for Dnsimple, Dyn, Ns1, and PowerDNS. Notes added to readme about
some of the quirks found while working with them. TTL seems to mostly be
accepted on ALIAS records so it has been added back, what it means seems to vary
across providers, thus notes.
2017-06-03 09:44:05 -07:00
Paul van Brouwershaven
ac82ab171e
Fix NS1 provider name
...
Update example class name from "octodns.provider.nsone.Ns1Provider" to working "octodns.provider.ns1.Ns1Provider".
2017-06-01 15:57:53 +02:00
Ross McFarland
bc1736bc39
NS1, add Delete support, fix apply create, flush out tests to 100%
2017-05-23 09:36:15 -07:00
Ross McFarland
06e17d043b
Corrected handling of ns1 errors, Ns1Provider.populate tests
2017-05-22 17:33:31 -07:00
Ross McFarland
23257d8ac7
NsOneProvider -> Ns1Provider and related renames
2017-05-10 16:09:21 -07:00