nginx DNS doesn't update the upstream IP
Grzegorz Kulewski
gk at leniwiec.biz
Wed Apr 14 16:55:38 UTC 2021
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.
More information about the nginx
mailing list