Giter Club home page Giter Club logo

Comments (10)

bedis avatar bedis commented on September 7, 2024 1

Hi,
I am able to reproduce this behavior.
Will now work on a fix.

from haproxy.

bedis avatar bedis commented on September 7, 2024 1

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.

capflam avatar capflam commented on September 7, 2024 1

This patch was not merged at all and I don't really know why. @bedis, what is the status of this patch ?

from haproxy.

capflam avatar capflam commented on September 7, 2024 1

FYI, I finally push the proposed patch. For now it was backported to 2.3

from haproxy.

nbari avatar nbari commented on September 7, 2024

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

Screenshot 2020-05-04 at 16 59 47

from haproxy.

bedis avatar bedis commented on September 7, 2024

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.

nbari avatar nbari commented on September 7, 2024

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.

nbari avatar nbari commented on September 7, 2024

Any chance to include this in 2.2.9?

from haproxy.

capflam avatar capflam commented on September 7, 2024

@bedis, ping ?

from haproxy.

capflam avatar capflam commented on September 7, 2024

Now backported as far as 2.0.

from haproxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.