Terrence Cole
1e7edc97c8
Update rackspace provider with new names and interfaces.
8 years ago
Ross McFarland
a558fde6df
Fixes for cloudflare CAA support
8 years ago
Ross McFarland
ba6dc9858e
Get out of the business of validating CAA records
Seem to be pretty inconsistently implemented/validated across providers so
just shrug and move on.
8 years ago
Ross McFarland
e43da949a3
Add CAA for CF, DNSimple, and README
8 years ago
Ross McFarland
f5ad26e1f9
Fixes for dnsimple CAA support
8 years ago
Ross McFarland
c24c793bcb
CAA unit tests for provider support
8 years ago
Ross McFarland
1e68cd6ae9
Add CAA support to Dyn, PowerDNS, and Route53
8 years ago
Ross McFarland
4cae1e2bdb
Add CAA Record class and tests
8 years ago
Heesu Hwang
9623f4e783
updated testfile to include test cases for new TXT data parsing
8 years ago
Ross McFarland
268620c939
Add support for increasing Route53 retries
8 years ago
Terrence Cole
17c9b8b527
Get lint and coverage tools clean.
8 years ago
Terrence Cole
b1ef8a8f8d
Delete first and create last to avoid having create coalesce into an update unexpectedly.
8 years ago
Terrence Cole
3f369712e4
Updates need to be able to create records as well as delete them.
8 years ago
Terrence Cole
41617e69a7
MX record values are repesented by a sub-struct.
8 years ago
Terrence Cole
c185d28f14
Handle _ValueMixin record types as well as we handle _ValuesMixin records.
9 years ago
Ross McFarland
7f8a01a81d
Improved/actionable keys out of order error message
9 years ago
Terrence Cole
a9f3384d11
Remove trailing dot on all record types that take an fqdn.
9 years ago
Terrence Cole
10ff8301a5
RackSpace's "name" field is a "fully-qualified" name, but without the dot.
9 years ago
Terrence Cole
92fb24f3fa
The provider constructor requires a pass-through id parameter.
9 years ago
Terrence Cole
01f8431d74
Make formatting consistent and improve record type support.
9 years ago
Terrence Cole
823423054f
Rename the test file to reflect the new functionality.
9 years ago
Terrence Cole
0579ff6f2d
Working push for A records.
9 years ago
Joe Williams
5b746845ed
add tests
9 years ago
Vietor Davis
21b3ffb509
Minor test updates for rackspace
9 years ago
Vietor Davis
c19ec41b6b
Parse all data in the sample return set
9 years ago
Ross McFarland
818c1e9cc6
Unit tests for ns1 escape handling and fix
9 years ago
Heesu Hwang
99578f328c
add azure to README. order reqs, change comments slightly, alphabetize functions
9 years ago
Ross McFarland
908698da49
Fix major performance issue with add_record O(N^2)
Before, 1-2k record took ~10s and more than that was just painful, 5k took
forever. This records things to keep a dict of nodes with a set of records so
that we can quickly "jump" to the point we're looking for without having to
search. 10k records now takes ~5s.
9 years ago
Ross McFarland
d9806e851f
NS1 RateLimitException, just sleep for e.period
9 years ago
Heesu Hwang
ec4261e7da
Fixed typed in _data_for_PTR and amended test case to check for it
9 years ago
Heesu Hwang
824cf4e98c
Changed code as per PR review. Only major change is refactoring _check_zones. Many more comments
9 years ago
Heesu Hwang
0b2275c4e6
Added complete error testing suite for azuredns
9 years ago
Ross McFarland
a44b82c2c7
NS1 rate_limit_delay param, unit tests for rate limit handling
9 years ago
Heesu Hwang
cc47bd7034
Fixed bug for MX and SRV. Added Azure test suite as well.
9 years ago
Vietor Davis
679c2be0e0
Start sketchin of Rackspace provider, half rewritten from powerdns...
9 years ago
Ross McFarland
5e4d68094f
Add meta record support with provider id to zone
Support replace=True in zone.add_record
9 years ago
Ross McFarland
4e3cc6b46a
SSHFP RFC4255 - validate algorithm & fingerprint_type
- unrecognized wording for invalid values
9 years ago
Ross McFarland
3ce0d71e62
NAPTR RFC2915 - validate flags (partial)
- punting on service, regex & replacement validation for now
- clean up MX a smidge
9 years ago
Ross McFarland
6fc82fd279
Validate that MX preference parses as int
9 years ago
Ross McFarland
1340aee8a9
MX RFC1035 - priority -> preference & value -> exchange
9 years ago
Ross McFarland
615bc95976
CNAME cannot coexist with other records on a node
9 years ago
Ross McFarland
d2af8efe5c
Root CNAMEs are not allowed
9 years ago
Ross McFarland
a69ff64ae1
Add --lenient flag to dump
9 years ago
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
9 years ago
Ross McFarland
8323b4c0ea
Complete refactor & rework of how validation is set up
This is with an eye toward expanding it in the future both in terms of what it
checks and to add the ability to ignore things. This commit does not intend to
change any validation. It only reworks the flow and improves the error
messaging.
9 years ago
Ross McFarland
852c101388
Switch to an explicit SUPPORTS setup
9 years ago
Ross McFarland
046cde43b2
Make sorting enforcement optional with YamlProvider
9 years ago
Ross McFarland
4a7ce9e833
Bake in the existing, but less than great hex sorting behavior
9 years ago
Ross McFarland
7e0730ea1b
Helps if I add the new config file
9 years ago
Ross McFarland
371138dbec
Fix zone-level always-dry-run functionality
Thanks @offmindby !
9 years ago