You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am wondering why you cannot use a DNS name for the AdvertiseAddr in the config. Is there a reason for this? Would that mean have to do the name resolution myself before giving it to the memberlist config?
Here it expects that the AdvertiseAddr is an actual IP address:
Also interested if there's a reason DNS name couldn't work for AdvertiseAddr? In a WAN setup would rather expose a load balancer than all the nodes to the remote. In our use case we don't really need to keep track of individual nodes, rather "clusters" of such nodes so exposing an LB endpoint should work unless I'm missing something.
@karsten42 I made a fork at https://github.com/unionj-cloud/memberlist that implemented the DNS name feature. I changed net.IP to string in many places along with some other changes. It works good in my use case. I think you can have a try.
I am wondering why you cannot use a DNS name for the
AdvertiseAddr
in the config. Is there a reason for this? Would that mean have to do the name resolution myself before giving it to the memberlist config?Here it expects that the
AdvertiseAddr
is an actual IP address:memberlist/memberlist.go
Lines 369 to 373 in b195c8e
The text was updated successfully, but these errors were encountered: