Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4849

Service stops when entry not DNS resolvable

$
0
0

Hi HAProxy community,

I am pretty new in using HAProxy. I am using it as a super simple bind port and forward to DNS name or IP address. Nothing fancy, one example entry:

lobal
log /dev/log local0
log /dev/log local1 notice
chroot /var/lib/haproxy
stats timeout 30s
pidfile /var/run/haproxy.pid

maxconn 4000
user haproxy
group haproxy
daemon
stats socket /var/lib/haproxy/stats

defaults
timeout connect 5m
timeout client 60m
timeout server 60m

log global
mode tcp
option tcplog
maxconn 3000
source 10...4

listen x
bind *:445
server hostname:445 hostname:445 check

My question is, I had issues with DNS names that were not solvable anymore - then HAProxy is not willing to start. Despite the fact that there are other entries that are working - can I configure that behaviour? Shouldn’t HAProxy just skip that entry and start anyway?

Thanks for you advice!

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4849

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>