Welcome! Log In Create A New Profile

Advanced

Re: nginx performance using resolver

Nginx Lova
May 29, 2009 09:43PM
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.


Thanks

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/.
Subject Author Posted

Re: nginx performance using resolver

Nginx Lova May 29, 2009 09:43PM

Re: nginx performance using resolver

Igor Sysoev May 30, 2009 03:39AM

Re: nginx performance using resolver

midenok September 28, 2009 06:05AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 145
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready