Welcome! Log In Create A New Profile

Advanced

Re: nginx DNS doesn't update the upstream IP

Grzegorz Kulewski
April 14, 2021 12:56PM
W dniu 14.04.2021 o 18:48, kay pisze:
> We tested with a default "resolver 8.8.8.8;" and "resolver 8.8.8.8 30s;"
> options. Both keep using the outdated IP address until you run "nginx -s
> reload". The upstream is AWS LoadBalancer, which changes IPs quite
> frequently.
>
> I'm using nginx 1.19.3. Any clue what could be wrong?

You should probably paste at least proxy_pass and upstream directives from your configuration.

Please note that nginx open source does not dynamically resolve hosts from server directives in upstream - only those from proxy_pass.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx DNS doesn't update the upstream IP

kay April 14, 2021 12:48PM

Re: nginx DNS doesn't update the upstream IP

Sergey A. Osokin April 14, 2021 12:56PM

Re: nginx DNS doesn't update the upstream IP

Grzegorz Kulewski April 14, 2021 12:56PM

Re: nginx DNS doesn't update the upstream IP

kay April 14, 2021 01:19PM

Re: nginx DNS doesn't update the upstream IP

kay April 14, 2021 01:26PM

Re: nginx DNS doesn't update the upstream IP

Maxim Dounin April 14, 2021 04:20PM

Re: nginx DNS doesn't update the upstream IP

kay April 16, 2021 07:06AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 169
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