Score:0

haproxy resolving dns name after the fact

cn flag

I"m getting a nosrv error. In this case its expected, since the drone address can't be resolved. Its from a docker network.

gateway_1          | [WARNING]  (1) : parsing [/usr/local/etc/haproxy/haproxy.cfg:50] : 'server D4M1' : could not resolve address 'drone', disabling server.
gateway_1          | [NOTICE]   (1) : New worker #1 (8) forked
gateway_1          | <150>Mar 26 06:35:23 haproxy[8]: 192.168.0.10:59775 [26/Mar/2022:06:35:23.252] http-in~ be_ci/<NOSRV> 0/-1/-1/-1/0 503 217 - - SC-- 1/1/0/0/0 0/0 "GET /welcome HTTP/1.1"

However, the once the server is up I expect to be able to route to it. this ever happens and I continue getting nosrv errors. The server is never marked as up and I don't get any health check logs

global
    stats socket /var/run/api.sock user haproxy group haproxy mode 660 level admin expose-fd listeners
    log          fd@2 local2

defaults
    mode http
    timeout client 10s
    timeout connect 5s
    timeout server 10s
    timeout http-request 10s
    log global
    option log-health-checks

resolvers docker
    nameserver dns1 127.0.0.11:53
    resolve_retries 3
    timeout resolve 1s
    timeout retry   1s
    hold other      10s
    hold refused    10s
    hold nx         10s
    hold timeout    10s
    hold valid      10s
    hold obsolete   10s

...

backend be_ci
    balance
    server D4M1 drone:80 init-addr last,libc,none check
    option httpchk
    option forwardfor
    option redispatch
pepsi-maniac avatar
cn flag
`server D4M1 drone-server:80 init-addr none check resolvers docker` got it adding resolvers docker
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.