resolver directive doesn't fallback to the system DNS resolver

Francis Daly francis at daoine.org
Wed Jan 7 23:14:17 UTC 2015


On Mon, Jan 05, 2015 at 05:04:52PM -0600, Kunal Pariani wrote:

Hi there,

> 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 ? 

==
events {} 
http {
  server {
    listen 8080;
    location /one {
      proxy_pass http://www.example.com;
    }
  }
}
==

Works for me.

What config file shows the problem that you report?

(If the above fails for you, then it may be worth examining external parts.)

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list