If you need resolver to your configuration, you can use upstream {...}. Nginx resolve hostnames from upstreams in config parsing stage. <br><br><br><div class="gmail_quote">On Thu, Jan 14, 2010 at 4:09 AM, Gabriel Ramuglia <span dir="ltr">&lt;<a href="mailto:gabe@vtunnel.com">gabe@vtunnel.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">If resolvers are causing this issue for you, you should run your own<br>
local resolvers. Even googles will have issues from time to time.<br>
<br>
I&#39;ve dealt with this a few times and wrote up an article in 2007 to<br>
help with this problem:<br>
<br>
<a href="http://www.freeproxies.org/blog/2007/12/15/dealing-with-a-common-issue-in-proxies-dns-resolution-failure/" target="_blank">http://www.freeproxies.org/blog/2007/12/15/dealing-with-a-common-issue-in-proxies-dns-resolution-failure/</a><br>


<div><div></div><div class="h5"><br>
On Wed, Jan 13, 2010 at 2:56 PM, vicky007 &lt;<a href="mailto:nginx-forum@nginx.us">nginx-forum@nginx.us</a>&gt; wrote:<br>
&gt; Hello,<br>
&gt;<br>
&gt; I&#39;m using nginx as reverse proxy to apache. Apache only serves php because I had no time to set up fastcgi or php-fpm on this box.<br>
&gt;<br>
&gt; Anyway, today there was sudden increase in nginx writing connections and increase of apache processes. It already happened to me in past and cause was the datacenter resolvers (at least switching to google resolvers fixed it immediately). Today the change of resolvers does not do anything.<br>


&gt;<br>
&gt; Here are graphs to show the situation: <a href="http://ultranet.sk/%7Etemp/weird.PNG" target="_blank">http://ultranet.sk/~temp/weird.PNG</a><br>
&gt;<br>
&gt; Anyone experienced something similar? What can be wrong?<br>
&gt;<br>
&gt; Thank you.<br>
&gt;<br>
&gt; vicky<br>
&gt;<br>
&gt; Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,40894,40894#msg-40894" target="_blank">http://forum.nginx.org/read.php?2,40894,40894#msg-40894</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; nginx mailing list<br>
&gt; <a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
&gt; <a href="http://nginx.org/mailman/listinfo/nginx" target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br>
&gt;<br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://nginx.org/mailman/listinfo/nginx" target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Faithfully yours, Eugenie<br>ICQ #701217<br>GTalk <a href="mailto:ekruglov@gmail.com">ekruglov@gmail.com</a><br>