Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Balancer fails to return hostname with named SRV entries #17

Closed
Tieske opened this issue Aug 17, 2017 · 0 comments
Closed

Balancer fails to return hostname with named SRV entries #17

Tieske opened this issue Aug 17, 2017 · 0 comments

Comments

@Tieske
Copy link
Member

Tieske commented Aug 17, 2017

When the ringbalancer gets a host added, eg. "somehost.com", and that name resolves to an SRV record containing names as in for example:

  • host1.somehost.com
  • host2.somehost.com

Then the getPeer function will return the IP and port number, but the third return value (the hostname) will be missing (nil will be returned).

Issue detected in version 0.4.2, but still exists in master.

Tieske added a commit that referenced this issue Aug 17, 2017
Named entries in an SRV record would not return the hostname
properly, but always 'nil'.

See issue #17
Tieske added a commit that referenced this issue Aug 17, 2017
Named entries in an SRV record would not return the hostname
properly, but always 'nil'.

See issue #17
Tieske added a commit that referenced this issue Aug 17, 2017
Named entries in an SRV record would not return the hostname
properly, but always 'nil'.

Fixes #17
Tieske added a commit that referenced this issue Aug 17, 2017
Named entries in an SRV record would not return the hostname
properly, but always 'nil'.

Fixes #17
Tieske added a commit that referenced this issue Aug 17, 2017
Named entries in an SRV record would not return the hostname
properly, but always 'nil'.

Fixes #17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant