ngx_upstream_resolveMK
ngx_upstream_resolveMK copied to clipboard
An nginx upstream resolve module using DNS SRV record. Works nicely with Mesos-DNS.
the first request always fails when nginx start up, because when the request and response ends, SRV and A/AAAA query has not finished yet, so the IP address is none...
``` upstream kibana { resolveMK kibana.svc.int service=_http._tcp; } location /kibana/ { proxy_pass http://kibana/; } ``` The first request to http://server/kibana causes nginx to perform an A record query for the...
Hi Guys, I'm currently having an issue with ECS Service Discovery and Route53 Auto Naming. I have added the Service Registry to the service and all the Hosted Zones records...
I create a consul-cluster and register a service named 'web', i can get dns SRV info with: `dig @127.0.0.1 -p 8600 web.service.consul` on server then i create dnsmasq service and...
``` Program terminated with signal SIGSEGV, Segmentation fault. #0 0x0000556561b928fd in ngx_http_upstream_resolveMK_handler (ctx=0x5565661e7060) at /usr/src/ngx_upstream_resolveMK/ngx_http_upstream_resolveMK.c:437 warning: Source file is more recent than executable. 437 peer->socklen = ctx->srvs[i].addrs[0].socklen; (gdb) bt #0...
reported from #1 ngx_http_upstream_resolveMK_get_peer fitting early resolved values into peer (before RESOLVE_STATS_DONE). Near one second, but happens time-to-time and in result 0.05% of requests going to black hole. It's a...