Perl API script to merge standalone CNAME records into a Host record.