I seem to remember seeing somewhere that there is a PHP command to perform dns query on a domain name.
I want to find the following information...
ns records
mx records
registrant information
admin contact
technical contact
billing contact
I know I could retrieve everything except the MX records using "whois" and chomping the output, but is there an easier way and also one that would return the mx records?
Thanks,
Richard