Jump to content

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.