Technical article 127601

OpenServer 6.0.0: /etc/resolv.conf timeout and attempts options are not recognised

OpenServer 6.0.0

Written · Last revised

Problem

The manual page for the resolver(SFF) at:

http://osr600doc.xinuos.com/en/man/html.SFF/resolver.SFF.html
documents the options:
timeout:n

Sets the amount of time the resolver will wait for a response from a remote name server before retrying the query via a different name server. Measured in seconds, the default is RES_TIMEOUT (see <resolv.h>).

and
attempts:n

Sets the number of times the resolver will send a query to its name servers before giving up and returning an error to the calling application. The default is RES_DFLRETRY (see <resolv.h>).

but when I implement these options in /etc/resolv.conf they do not have any effect on the time it takes to timeout when a nameserver is unresponsive.

Solution

The timeout and attempts options are not supported by the SVR5 ABI resolver library (/usr/lib/resolv.so).

The default timeout for SVR5 ABIs is 75 seconds and the default attempts is 1 so in situations where a server's nameserver is not responding, binaries and utilities will wait for 75 seconds before timing out.

Binaries and applications that use the OSR5 ABI do support the /etc/resolv.conf timeout and attempts options.

From the Xinuos technical article database, record 127601. Reproduced with permission. The original is at www.sco.com/ta/127601, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.