﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
1040	nginx start failed if upstream server domainname is not resolved	LuckySB@…		"add to nginx config:

{{{
upstream backend {
    server backend1.example.com       weight=5;
    server backend2.example.com:8080;
    server unix:/tmp/backend3;

    server backup1.example.com:8080   backup;
    server backup2.example.com:8080   backup;
}

}}}

try nginx -t

nginx: [emerg] host not found in upstream ""backend1.example.com"" in /etc/nginx/vhosts.d/test.ru.conf:12
nginx: configuration file /etc/nginx/nginx.conf test failed

service nginx start 
nginx not started

please change '[emerg] fatal error' to 'warning' message
and allow start nginx with this problem

I would also like to add the ability to periodically reresolv server domainnames in the upstream block
"	defect	closed	minor		nginx-core	1.11.x	wontfix	upstream server dns		2.6.32-042stab112.15 #1 SMP Tue Oct 20 17:22:56 MSK 2015 x86_64 x86_64 x86_64 GNU/Linux	"nginx version: nginx/1.11.2
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC)
built with OpenSSL 1.0.1e-fips 11 Feb 2013
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-p                                                                                       ath=/usr/lib64/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=                                                                                       /var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/v                                                                                       ar/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/v                                                                                       ar/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --                                                                                       http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var                                                                                       /cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=                                                                                       nginx --group=nginx --add-dynamic-module=naxsi-0.55rc2/naxsi_src --with-http_ssl                                                                                       _module --with-http_realip_module --with-http_addition_module --with-http_sub_mo                                                                                       dule --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with                                                                                       -http_gunzip_module --with-http_gzip_static_module --with-http_random_index_modu                                                                                       le --with-http_secure_link_module --with-http_stub_status_module --with-http_aut                                                                                       h_request_module --with-http_xslt_module=dynamic --with-http_image_filter_module                                                                                       =dynamic --with-http_geoip_module=dynamic --with-http_perl_module=dynamic --add-                                                                                       dynamic-module=njs-ef2b708510b1/nginx --add-dynamic-module=ngx_devel_kit-0.3.0rc                                                                                       1 --add-dynamic-module=lua-nginx-module-0.10.2 --add-dynamic-module=headers-more                                                                                       -nginx-module-0.30rc1 --add-dynamic-module=nginx-upload-module-2.2 --add-dynamic                                                                                       -module=nginx-upload-progress-module-v0.9.0 --add-dynamic-module=naxsi-0.55rc2/n                                                                                       axsi_src --add-dynamic-module=nginx-push-stream-module-0.5.1 --add-dynamic-modul                                                                                       e=redis2-nginx-module-0.13 --with-threads --with-stream --with-stream_ssl_module                                                                                        --with-http_slice_module --with-mail --with-mail_ssl_module --with-file-aio --w                                                                                       ith-ipv6 --with-http_v2_module --with-cc-opt='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_                                                                                       SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=ge                                                                                       neric'"
