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 Wed, Oct 20, 2004 at 09:24:03AM -0400, trlists at clayst.com wrote:
> Simply making a TCP connection on port 53 works well about 98% of the 
> time, but apparently some nameservers are configured to only accept UDP 
> on that port, and those my code currently considers to be invalid, 
> requiring manual intervention.  That's the problem I'm working on.  

Nameservers always try 53 UDP first, because most requests and
responses will fit into a single packet.

You could go to the trouble of constructing your own code, but
why not call "dig" and see if you can get a valid response?

-dsr-




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