I am using Amazon's Route 53 to set up zones for a domain. I have multiple A Records set up as an Alias to a bunch of targets. These aliases have a Weighted routing policy.
They look something as follows:
A foo.mydomain.com ALIAS srv1.mydomain.com
A foo.mydomain.com ALIAS srv2.mydomain.com
A foo.mydomain.com ALIAS srv3.mydomain.com
I am looking for a Unix call I can make with foo.mydomain.com
as the parameters and returns me a list of all the three hostnames above as the result.
Is this possible through (without using the Amazon SDK)?
Thank you