Netflix / denominator

Portably control DNS clouds using java or bash
Apache License 2.0
580 stars 110 forks source link

support load balanced CNAME records #87

Open allenxwang opened 11 years ago

allenxwang commented 11 years ago

For example, we would like to read AWS route53 records with multiple CNAMEs.

multi-value (load-balanced) ResourceRecordSets:

Tasks:

codefromthecrypt commented 11 years ago

in UltraDNS, the following commands are needed and imply a premium account: addTCLBPool, addPoolRecord, updatePoolRecord, getPoolRecords, getLoadBalancingPoolsByZone

codefromthecrypt commented 11 years ago

I've a proposal to expose the following to help folks understand the valid values they can place for weight.

List<Integer> WeightedRecordSetApi.supportedWeights();

This is a List as opposed to a DiscreteDomain or Range, as in the case of UltraDNS the values are not contiguous. RangeSet could be used, but that's awkward, especially if exporting as a ReST call. The downside of List is that we need to include every possible number. Since the upper bound is 256 elements (route53), it seems pragmatic to use a list to describe all valid weights.

Here are the constraints that make the case.

cc @allenxwang @colmmacc @jonbodner @jdamick