nginx performance using resolver
is at rambler-co.ru
Sat May 30 11:39:07 MSD 2009
On Sat, May 30, 2009 at 03:43:46AM +0200, Nginx Lova wrote:
> 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.
No, currently only single IP.
> 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 http://www.ruby-forum.com/.
More information about the nginx