Skip to content

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

Closed
@bboreham

Description

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions