News for hackers. Stuff that matters.
Re:Nginx with dynamic upstreams by adamonduty on Sunday July 26, 2015 @04:40PM (#9952136)
What part of the battle couldn't you solve? Doesn't the author's setting of the resolver directive work for you, or is there something I'm missing?

Also, the author doesn't mention it, but you can also set a custom cache timeout with the valid=Xs option.

http://nginx.org/en/docs/http/ngx_http_core_module.html#reso...

Re:Nginx with dynamic upstreams by bmurphy1976 on Sunday July 26, 2015 @06:27PM (#9952409)
It was not that reliable for us. We still had unexplained occurrences of IP caching and it's easy to fat finger the configuration and lose the resolving functionality. Anyway, as I mentioned haproxy has vastly superior load balancing capabilities. Nginx still has a lot of work to do to match haproxy in this area.