Peter Dave Hello
68580ac25b
Normalize CNAME/ALIAS/PTR value to lower-case
7 years ago
Ross McFarland
9f63a508e4
Address TODO about Dyn TD's and subzones to fix bug
We hit this bug internally. It generally needed to be fix and was a larger
potential problem than expected since it was assuming TD assocaitions rather
than looking at them directly. Test changes were a little involved to suss
out, otherwise this is a fairly clean and simple fix.
7 years ago
Christian Funkhouser
f239eb1aa8
Don't use classmethod for listing YAML files
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
7 years ago
Christian Funkhouser
689043cd3d
Merge SplitYamlProvider and YamlProvider tests
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
7 years ago
Christian Funkhouser
250c31f8ed
Delete test_octodns_provider_splityaml.py
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
7 years ago
Christian Funkhouser
2e2fd7157a
Try the test with a fresh zone
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
7 years ago
Christian Funkhouser
9f34526c61
Remove forklifted comment that doesn't entirely make sense
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
7 years ago
Christian Funkhouser
ceece68de8
Persist empty. zone
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
7 years ago
Christian Funkhouser
98dacd2dde
Add proper tests for SplitYamlProvider
The SplitYamlProvider itself now requires a directory matching the
zone name under its directory to contain all YAML files. This doesn't
actually change the intended usage at all, just how the configuration
file is laid out.
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
7 years ago
Christian Funkhouser
1d9553b93a
Appease the linter.
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
7 years ago
Christian Funkhouser
8639bc0af5
Actually fix tests, include YAML
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
7 years ago
Christian Funkhouser
ee133b3ac1
Fix tests
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
7 years ago
Peter Dave Hello
e0a8a619d6
Normalize MX exchange to lower-case, fix #322
7 years ago
Ross McFarland
dbc032a2cc
Switch to using tuples for _mod_keyer
7 years ago
Ross McFarland
92179a231e
Rework and clean up Route53Provider's extra_changes check to support dynamic
7 years ago
Ross McFarland
af06dbec09
Route53Provider for CNAME style healthchecks
Note that you can't specify a Host header for these which I believe will
complicate the ability to use this. Figuring that out will have to wait
until I or someone else has a use case for these...
7 years ago
Ross McFarland
7b59eedc44
Route53Provider dynamic support
7 years ago
Ross McFarland
0a6b2e2e3b
Implement Route53Provider mod ordering via a sort
This will ensure that deletes come before creates which are before upserts and
that records that uses aliases always come after their target (though implicitly
based on sorting types and not explicitly by looking at them.)
7 years ago
Ross McFarland
ed152ce0f3
Plumb hosted_zone_id through to _Route53Record
7 years ago
Ross McFarland
f83eeb0a9c
Add a Name tag to Route53 healthchecks for UI purposes
7 years ago
Ross McFarland
b8be28c1dc
Rework get_health_check_id, just take value to check
7 years ago
Ross McFarland
d610a0c920
Implement _Route53Record._value_convert_*
7 years ago
omar
7c5c1b3367
AzureProvider: update for azure-mgmt-dns 2.1.0 and add support for CAA records.
7 years ago
Adam Smith
ca80200653
add supports check to DNSMadeEasy Provider
7 years ago
Adam Smith
10452d1546
CloudflareProvider: unpack long SRV records correctly
7 years ago
Jörg Runkel
c1911c10a3
Some syntax and style improvements
7 years ago
Jörg Runkel
54787529d5
Move measure_latency option to Route53 provider
7 years ago
Jörg Runkel
1794f5ccd6
Add healthcheck option 'measure_latency' for Route53 provider
Route53 allows to monitor latency information on the dashboard
and using CloudWatch. While that is a nice to have function,
it is not necessary for a DNS failover scenario and increases
Route 53 costs.
To maintain backward compatibility, the default for this option
when ommited is true.
7 years ago
Ross McFarland
dea4647a16
Make SUPPORTS_DYNAMIC an optional property, defaulting to False
7 years ago
Ross McFarland
dc4baf6f8b
Make sure we avoid loops when configuring DynProvider fallbacks
7 years ago
Ross McFarland
6fb829a98a
Remove defunct geo -> dynamic case that couldn't be reached
7 years ago
Ross McFarland
da9e268659
3-part Dyn TD labels are no more
7 years ago
Ross McFarland
7cce15cffe
Cleanly convert Dyn TD from dynamic to geo
7 years ago
Ross McFarland
13b87faddc
Better Dyn dynamic TD detection
7 years ago
Mads Tandrup
6bbfcbd278
Upgrade Azure DNS API to 1.2.0
7 years ago
Ross McFarland
d4c4c479c4
Ensure that dynamic and geo can't coexist
7 years ago
Ross McFarland
ad04cefd88
More robust __eq__ on _Dynamic objects
7 years ago
Ross McFarland
1ca84c17e6
Complete unit test coverage of DynProvider dynamic functionality
7 years ago
Ross McFarland
d57c7f6c01
Further test coverage for DynProvider dynamic records
7 years ago
Ross McFarland
942edd66c0
Remove debugging prints, test dyn dynamic, fix problems found by tests
7 years ago
Ross McFarland
60911917b4
Implement Dync populate dynamic, flesh out testing for all but dyn
7 years ago
Ross McFarland
a169d50fcf
Add GeoCodes.parse and move Move Dyn dynamnic over to use it
7 years ago
Ross McFarland
a452a0eb00
Get DynProvider and tests happy, though still incomplete
7 years ago
Ross McFarland
f1d5808ddc
Heh, apparently there were some invalid Geo codes in tests
7 years ago
Ross McFarland
388e9a67e0
Hook up new GeoCodes validation to _DynamicMixin
7 years ago
Ross McFarland
50ae8054c7
First pass at GeoCodes and geo_data for validating/working with geo codes
7 years ago
Adam Smith
6ee308089f
add ANAME support to DnsMadeEasy (ALIAS == ANAME)
7 years ago
Ross McFarland
a767a5cb25
Implement pool-level fallbacks and validations
7 years ago
Ross McFarland
ccd9038a38
Impliment Dynamic rule geo validation
7 years ago
Ross McFarland
e16648ab1f
Progress towards fully fleshed out pools & rules
7 years ago