Skip to content

TCP Dynamic Proxy route without specifying exact IP? #797

@evandam

Description

@evandam

I'm using tcp-dynamic proxy with proxy.addr = :9999,0.0.0.0:0;proto=tcp-dynamic;refresh=5s but wondering if there's a way to use routes without hardcoding an IP address if I understand correctly?

For example, I have a service with the following tags:

fabio-0.0.0.0:6379 proto=tcp
fabio-:6379 proto=tcp
fabio-mydnsrecord:6379 proto=tcp

The routes get added successfully, but they all result in "No route found" logs.

Oct 30 18:07:52 default-ubuntu-1804 fabio[19887]: 2020/10/30 18:07:52 [WARN] No route for 192.168.33.33:6379

Is it possible to be able to resolve a hostname instead of use an IP address, or route based on port-only instead of ip:port?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions