Skip to content

DNS SRV instancer doesn't deal well with missing port number #892

@bboreham

Description

@bboreham

It appears the Kubernetes DNS server will return 0 in the port number slot under some circumstances (most of the ones I tried), and dnssrv/instancer.go turns this into :0 on the address.

Am I holding it wrong, or would you accept a PR to pass back the bare name if the port is 0?

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