At work, I have something like this ...
$ host www.something.com www.something.com is an alias for some.other.address some.other.address is an alias for one.more.address one.more.address has address xxx.xxx.xxx.xxx
I would like to put www.something.com in Perl and determine if this is a CNAME, record, etc.
source share