DNS Connection Question

trlists at clayst.com trlists at clayst.com
Wed Oct 20 09:49:07 EDT 2004


On 20 Oct 2004 Bob Gorman wrote:

> How about the function built into PHP?
> 
>   http://us2.php.net/manual/en/function.checkdnsrr.php

As I just wrote in another mesasge, that does a full query -- I was 
trying to get away with just opening the connection.  But with UDP I 
guess I have to do a query anyway.

Re the socket functions mentioned in your other message, I was avoiding 
those as it's production code and those functions are marked 
"experimental".  That's my general policy (not to use "experimental" 
PHP functions), I could always make an exception, but it seems from the 
discussion like there are a few other routes that might work as well.

--
Tom






More information about the Discuss mailing list