Jump to content

PHP function checkdnsrr() and Mac OS X Leopard


super3td

Recommended Posts

Hey! there folks. I have come across a VERY strange problem.  ???

 

Summary Mac OS X Leopard/AMP environment. PHP 5.2.6, MySQL 5.0.45, Apache 2.2.8

 

We have written a PHP application which utilizes the seemingly simple function checkdnsrr().

 

Only it isn't. Our PHP4 environment (Mac OS X Tiger/AMP) runs this perfectly. The new environment not so much. It's causing the script to terminate upon lookup. (Returns blank screen rather than continues the script).

 

One thing I am noticing is that the functionality isn't just restricted to checkdnsrr(), it is also failing on any other functions that executes a DNS lookup such as getmxrr(). This is too much of a coincidence that all DNS related functionality is no longer working. Something is clearly missing. PHP extension, INI setting, .conf setting, something. I strongly suspect it's network/communication, other functions from the SAME library work, except any DNS related functions.

 

This box, specifically relating to PHP, cannot DNS resolve. It suggests an inabililty for PHP and DNS to communicate.

 

Does anyone have any ideas, this has been baffling me for a couple of days.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.