nginx performance using resolver

Nginx Lova lists at
Sat May 30 05:43:46 MSD 2009

Hello Igor

Is there a way to enter 2 dns server to use for resolving ?
Trying to add some redundancy there. If not I would have to have a vip 
which hits X number of name servers.


Igor Sysoev wrote:
> On Thu, Feb 05, 2009 at 06:57:16PM +0100, Nginx Lova wrote:
>> > 
>> So this sets the resolver to timeout at a specific type of search ?
>> first it checks upstreams then dns , so does this set the timeout for 
>> upstreams to 2s ? then the dns to 2s ?
> No, first nginx looks up a host in upstream's. There is no timeout.
> If the host is not defined as upstream, then nginx tests it as IP 
> address.
> If the host is not IP address, then nginx tries to resolve the host.
> The timeout is used here while resolving.

Posted via

More information about the nginx mailing list