Welcome! Log In Create A New Profile

Advanced

Re: Disable caching the names in /etc/hosts in reverse proxy?

B.R.
April 20, 2015 01:12PM
There is no 'cache' per se, but rather remembered DNS results, much like
you do when you deal with domain names to avoid putting to high a burden on
NS resolvers.

nginx resolves names on start or reload.
The commercial version added a feature to update names periodically (resolve
option of the server directive in the upstream module
<http://nginx.org/en/docs/http/ngx_http_upstream_module.html#server>).
However, FOSS nginx is stuck with 'static' names resolution.

The commercial version is said to be full-featured, having new features the
FOSS version does not have and does not need... questionable when you see
such 'degraded' features in FOSS, which the commercial version handles the
right way. Political/Economical choices I suppose.
---
*B. R.*

On Sun, Apr 19, 2015 at 2:05 AM, xuhdev <nginx-forum@nginx.us> wrote:

> I'm using Nginx to act as a reverse proxy, where the backend is a name
> defined in /etc/hosts. However, Nginx does not react to the changes made in
> /etc/hosts until restarted. Is it possible to disable caching the names in
> /etc/hosts in reverse proxy?
>
> Thanks
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,258188,258188#msg-258188
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Disable caching the names in /etc/hosts in reverse proxy?

xuhdev April 18, 2015 08:05PM

Re: Disable caching the names in /etc/hosts in reverse proxy?

B.R. April 20, 2015 01:12PM

Re: Disable caching the names in /etc/hosts in reverse proxy?

itpp2012 April 20, 2015 02:11PM

Re: Disable caching the names in /etc/hosts in reverse proxy?

Jason Woods April 20, 2015 01:54PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 198
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready