Skip to content

Allow GRPCLB_NAME_PREFIX to be configured per service in DnsNameResolver #5371

Open
@ST-DDT

Description

@ST-DDT

What version of gRPC are you using?

1.18.0

Feature Request

Some third party servers that I try to connect to don't expose their grpc service addresses with the grpclb prefix, so it would be nice if I could configure the service name lookup by providing a custom service prefix.

Example

serverA: dns:/foobar.example.com -> _grpclb._tcp.foobar.example.com
serverB: dns:/barfoo.example.com?srvName=grpc -> _grpc._tcp.barfoo.example.com
serverC: dns:/lorep.example.com?srvName=ipsum -> _ipsum._tcp.lorep.example.com

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions