Resolver not working as expected
Sharan J
jsharan15 at gmail.com
Mon Aug 27 13:26:01 UTC 2018
Hi,
Sample conf:
http{
resolver x.x.x.x;
server {
server_name _;
location / {
proxy_pass http://somedomain.com;
}
}
I have nameservers configured in my resolv.conf. But, somedomain.com will
be configured in x.x.x.x DNS server only. So, I have specified resolver in
my nginx.conf. However, during startup/reload I get "host not found in
upstream error". Why nginx is not considering resolver conf and searches
only in the nameservers configured in resolv.conf?
Thanks,
Shanthu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20180827/5c2d3bda/attachment.html>
More information about the nginx
mailing list