optionsOptions allows certain internal resolver variables to be modified. The syntax isoptions option ...where option is one of the following:debug sets RES_DEBUG in _res.options.ndots:nsets a threshold for the number of dots which must appear in a name given to res_query(3) (see resolver(3)) before an initial abso‐lute query will be made. The default for n is 1, meaning that if there are any dots in a name, the name will be tried first as anabsolute name before any search list elements are appended to it. The value for this option is silently capped to 15.timeout:nsets the amount of time the resolver will wait for a response from a remote name server before retrying the query via a differentname server. Measured in seconds, the default is RES_TIMEOUT (currently 5, see ). The value for this option issilently
capped to 30.attempts:nsets the number of times the resolver will send a query to its name servers before giving up and returning an error to the callingapplication. The default is RES_DFLRETRY (currently 2, see ). The value for this option issilently capped to 5.server