Determine provider/hoster of domains [closed]

For example, I have 3 domains: a.com, b.com and c.com. How can I use PHP to find out which of them are hosted by the same provider? I don’t need to know the name of the provider. I just need a criterion to recognize which domains are hosted by the same provider. I cannot use the IP address, as a provider can operate several servers with different IPs.