Skip to content

When passed a DNS name, InitiateConnection only resolves one record; all records would be better #78

@nfirvine

Description

@nfirvine

https://github.com/weaveworks/mesh/blob/master/connection_maker.go#L96

If the host part of a peer is a DNS name, it'd be nice if that name were resolved and all resultant addresses were added to the list, instead of just one. This is a very common pattern in service discovery i.e. Consul.

(I'm not sure how this code would respond with a request to peer with oneself though?)

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