Check if the subdomains have cnames to the same tld or 3rd party service
bash cname.sh subdomain_file
or
chmod +x cname.sh ./cname.sh subdomain_file
The output will be 3 different files:
- no_cname: Subdomains with No CNAMEs
- host_match: Subdomains with same tld as CNAME, ideally redirects to same host
- cname_out: Subdomains pointing to 3rd party services/CNAMEs