Hi
Is there a "PHP" way to get the NS records from a dns zone?
The checkdnsrr() function just tells you whether there are any or not but I need to get the list of the ones that exist.
I have written a class module called "whois" (code freely available by request) which will interrogate whois servers for authority of if a name exists or not, however, if you do:
You get some text inserted by a hacker (read the ones for microsoft.com - quite funny!)
So I need to actually get the authoritive name server records.
I code backtick to the "host" command and interpret the result but there must be a function to get the answer as an array just like getmxrr().
Please please help.
James