resolver directive doesn't fallback to the system DNS resolver

Kunal Pariani kpariani at zimbra.com
Wed Jan 7 20:49:26 UTC 2015


Ping.. 

Thanks 
-Kunal 


From: "Kunal Pariani" <kpariani at zimbra.com> 
To: nginx at nginx.org 
Sent: Monday, January 5, 2015 3:04:52 PM 
Subject: resolver directive doesn't fallback to the system DNS resolver 

Hello, 
I am looking at how to use nginx's resolver directive (http://nginx.org/en/docs/http/ngx_http_core_module.html#resolver) to address this one issue i am facing. I have a host for which there is already an entry in the system DNS resolver (verified using nslookup/dig) but when i specify the same host in the proxy_pass directive inside a location block, i get the following error thrown in nginx.log 
015/01/05 14:24:13 [error] 22560#0: *5 no resolver defined to resolve ... 

Seems like nginx is not falling back to the system DNS resolver in case the 'resolver' directive is not used. Isn't this incorrect behaviour ? 

Thanks 
-Kunal 


_______________________________________________ 
nginx mailing list 
nginx at nginx.org 
http://mailman.nginx.org/mailman/listinfo/nginx 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150107/96baa27b/attachment.html>


More information about the nginx mailing list