[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference lassie::ucx

Title:DEC TCP/IP Services for OpenVMS
Notice:Note 2-SSB Kits, 3-FT Kits, 4-Patch Info, 7-QAR System
Moderator:ucxaxp.ucx.lkg.dec.com::TIBBERT
Created:Thu Nov 17 1994
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:5568
Total number of notes:21492

5404.0. "Gethostbyname wait when dns not available?" by CSC32::J_HENSON (Don't get even, get ahead!) Wed Apr 02 1997 17:53

ucx 4.1 eco 4 for OpenVMS Alpuucx
ucx v4.1 - eco 4, openvms alpha v7.1

If a host name is not in the local database, and the name server is
not available, what determines how long gethostbyname will wait before
returning a failure status to the caller?  A customer is claiming
that it is taking 1 minute for gethostbyname to return when this
condition occurs.  He would like for it to return much sooner.

Is there any way to shorten the wait?  If not, does anyone have any
suggestions for quickly determining (from program control) if a
name server is not available, or perhaps even a way to make this
a non-blocking call?  Any and all ideas appreciated.

Thanks,

Jerry
T.RTitleUserPersonal
Name
DateLines
5404.1UCXAXP::KIMMELWed Apr 02 1997 20:232
    Take a look at the output of UCX HELP SET NAME /TIMEOUT
    
5404.2CSC32::J_HENSONDon't get even, get ahead!Thu Apr 03 1997 10:158
>>                      <<< Note 5404.1 by UCXAXP::KIMMEL >>>

>>    Take a look at the output of UCX HELP SET NAME /TIMEOUT
  

Thanks.  I'll do that.  

Jerry