rdns with php

Posted on 16th Feb 2014 by admin

I am trying to build a script that will show all of the different domains that are hosted on the same ip. However when I do a rdns lookup with php only 1 of the domains is returned. How can I make it return all of the domains? I am trying to build a set of dns sort of tools for developers that use my webspace. I know I could just use curl and go to a site that does this already but I would like to make my own so that I know how it is done.

Other forums