Finding all CNAMEs associated with an A record

Anshuman Kanwar ansh at expertcity.com
Mon Nov 17 20:27:04 UTC 2003


Hi all,

Given that I created a many to one relation between CNAMEs records and an A
record, is there a way to get a list of all CNAMEs by querying the A name ?

example :

bird     IN  A      192.168.0.5
chicken  IN  CNAME  bird  
hen      IN  CNAME  bird  
rooster  IN  CNAME  bird  

Now I want run some commad, which gives me :

# some-command bird
chicken
hen
rooster


Thanks much,
-ansh





More information about the bind-users mailing list