About resolver and 502 error

Ruslan Ermilov ru at nginx.com
Mon Aug 13 09:47:38 UTC 2012


On Mon, Aug 13, 2012 at 05:20:40PM +0800, Geoge.Q wrote:
> hi Guys:
> When I run NGINX as  a proxy and set a resolver(such as 8.8.8.8), I found
> out if DNS fail to resolve, 502 is popped up. 
> We can not set two or more DNS entry, so how to handle such situation? 

To answer this specific question: upgrade.  Recent versions of nginx (1.1.7+,
1.2.x, 1.3.x) support multiple resolvers.

http://nginx.org/r/resolver



More information about the nginx mailing list