Comments (10)
Hi,
I am able to reproduce this behavior.
Will now work on a fix.
from haproxy.
Here you go:
0001-BUG-MINOR-dns-new-callback-to-properly-handle-SRV-re.patch.txt
Note that it's not the definitive one, I need to validate some corner cases.
from haproxy.
This patch was not merged at all and I don't really know why. @bedis, what is the status of this patch ?
from haproxy.
FYI, I finally push the proposed patch. For now it was backported to 2.3
from haproxy.
Same issue here using FreeBSD 12.1 HA-Proxy version 2.0.14 2020/04/02
I am using unbound
forwarding queries to consul
, using a configuration similar to:
resolvers consul
nameserver dns0 10.0.0.3:53
nameserver dns1 10.0.0.4:53
nameserver dns2 10.0.0.5:53
nameserver dns3 10.0.0.6:53
nameserver dns4 10.0.0.7:53
accepted_payload_size 8192
hold valid 5s
backend test-consul
default-server check fastinter 1s fall 3 rise 2 maxconn 30
server-template srv 3 _test-consul._tcp.service.consul resolvers consul resolve-opts allow-dup-ip resolve-prefer ipv4
from haproxy.
Quick update here: I have a patch for 2.2 and above, which I adapted to 2.0 and 2.1. That said, 1.8 and 1.9 are also affected and part of the patch must be rewritten for those versions.
@nbari since you're on HAProxy 2.0, I can send you the patch for your version and you can give it a try and confirm whether it helps or not :)
@ivoronin same for you.
from haproxy.
hi @bedis thanks for your time on this 👍, I upgraded to HA-Proxy version 2.2.5-34b2b10
so that should be fine from my side.
from haproxy.
Any chance to include this in 2.2.9
?
from haproxy.
@bedis, ping ?
from haproxy.
Now backported as far as 2.0.
from haproxy.
Related Issues (20)
- src/listener.c: null pointer dereference suspected by coverity HOT 3
- http-server-close and httpclose has no effect on HAProxy as forward proxy HOT 6
- A worker process unexpectedly died and this can only be explained by a bug in haproxy or its dependencies HOT 6
- haproxy 3.0.2 starts crashing after adding bandwidth out limiter HOT 8
- ocsp-update not working if issuers-chain-path is used for intermediates HOT 5
- Crashing for different GitHub's subdomains because of using the same TCP connection HOT 2
- tcp-request connection track-sc<> rules not working in named defaults (http) HOT 4
- src/proto_quic.c: negative return suspected by coverity
- SegFault in 2.0.33-0ubuntu0.1 while attempting to allocating a buffer after aborting a splice in src/stream_interface.c HOT 4
- Haproxy 2.8.4: Sporadic backend UP/DOWN status and CPU fluctuations "Bad EL0 synchronous exception detected... UNRECOGNIZED EC" HOT 8
- tcp-request substitute for h3/quic (quic-request) HOT 9
- Can't fetch tcp-request content capture results anymore HOT 14
- Issue with JWT Verification Using Multiple EC and RSA Public Keys HOT 27
- tcp-connection reject in conjunction with stick tables behaves differently on QUIC vs HTTP1/HTTP2 requests HOT 5
- 100% CPU on futex HOT 9
- ACL conditions want to support txn values (var(~~)) HOT 6
- use websocket
- Support zstd as compression algorithm HOT 1
- Allow use-server to use fetchers HOT 3
- Show URLs currently being processed by the backends of haproxy
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from haproxy.