I have different nameserver ip’s for different networks. Is it possible to just configure them all, and have haproxy figure out which ones exist, and ignore the ones that can’t be reached?
With this config haproxy does not start, when nameservers are not available.
resolvers dnssvrs1
nameserver dns1 192.168.10.xx:53
nameserver dns2 192.168.10.yy:53
nameserver dns3 aaa.aa.aaa.aaa:53
nameserver dns4 bbb.bb.bbb.bbb:53
2 posts - 2 participants