View Full Version : checkdnsrr function

Retired Bill
06-25-2006, 03:30 AM
I am trying to use the checkdnsrr function on a unix server. Problem is, the function returns true all the time. Statement used is: checkdnsrr($domain_name, "MX"). This is the first time I have tried to use this function to verify the authenticity of the email domain. What have I done wrong?

06-25-2006, 04:08 AM
I've never used that function...

Try using gethostbyname() (http://us2.php.net/manual/en/function.gethostbyname.php) to verify the integrity of a hostname instead....has always worked for me