I'm wondering why it's possible for the following website to get CNAME records for various websites:
http://dnskit.dk/
I've been searching for an hour now, and I've not been able to find anything that would enable me to do the same.
I get all other records except SRV records with:
$array = dns_get_record($domain, DNS_CNAME);
But that doesn't work. I've read the following questions
Get Cname records with NetDNS or get_dns_record
Why wouldn't dns_get_record show CNAMEs when I KNOW they exist?
I'm aware that if I prefix the domain with an existing CNAME that I already know about, some info might be found, but I need to get this info from my lookup.
I've created some special cases for formatting the input URL, so things like http:// and https:// is removed from the URL once submitted, unlike other websites that do not allow those protocols to be there, which was the problem that started me working on this.