Welcome! Log In Create A New Profile

Advanced

feature request: warn when domain name resolves to several addresses

Roger Pack
November 19, 2019 12:48PM
I noticed that in ngx_http_proxy_module

proxy_pass http://localhost:8000/uri/;
"If a domain name resolves to several addresses, all of them will be
used in a round-robin fashion. In addition, an address can be
specified as a server group."

However this can be confusing for end users who innocently put the
domain name "localhost" then find that round-robin across ipv6 and
ipv4 is occurring, ref:
https://stackoverflow.com/a/58924751/32453
https://stackoverflow.com/a/52550758/32453

Suggestion/feature request: If a domain name resolves to several
addresses, log a warning in error.log file somehow, or at least in the
output of -T, to warn somehow. Then there won't be unexpected
round-robins occurring and "supposedly single" servers being
considered unavailable due to timeouts, surprising people like myself.

Thank you for your attention, and for nginx, it's rocking fast! :)

-Roger Pack-
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

feature request: warn when domain name resolves to several addresses

Roger Pack November 19, 2019 12:48PM

Re: feature request: warn when domain name resolves to several addresses

Maxim Dounin November 19, 2019 02:02PM

Re: feature request: warn when domain name resolves to several addresses

Roger Pack November 19, 2019 09:28PM

Re: feature request: warn when domain name resolves to several addresses

Maxim Dounin November 20, 2019 02:30PM

Re: feature request: warn when domain name resolves to several addresses

Roger Pack November 21, 2019 03:54PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 79
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready