Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DNS Connection Question



On 19 Oct 2004 David Kramer wrote:

> I'm guessing that it's getting a non-autoritative answer from another 
> server.  Try "host -v (domainname)" to verify that's where it's getting 
> the DNS entry from.

No, it's not connecting at all.

A couple of people pointed out to me off-list that the PHP function is 
probably connecting over TCP and DNS uses UDP.  The servers that fail 
have port 53 open for UDP connections only.

They're right -- and it is possible to use a PHP fsockopen() with UDP 
but it's more complex as then you have to listen for the answer etc.  
It will make things trickier.

--
Tom







BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org