zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shafique Jamal <shafique.ja...@gmail.com>
Subject Re: Is it possible to use the server address as the host address?
Date Tue, 09 Jan 2018 00:37:06 GMT
Thanks Abe. In case it is helpful for some: those using AWS EC2 VM
instances with an Elastic IP address (i.e. a static IP address) can ask
Amazon to resolve a reverse DNS lookup on the Elastic IP address to one DNS
address that they have set to resolve to that IP address. They can do so by
filling out a form available at this link:


The actual form is available here:


Google Cloud has something similar - you can request a PTR record. With
Google Cloud you get the reverse DNS done quicker - AWS could take several
hours or a day to get it done. This link has more information:


This can solve the issue of using SASL with ZooKeeper with server names.

On Mon, Jan 8, 2018 at 7:00 PM, Abraham Fine <afine@apache.org> wrote:

> Hello Shafique-
> I believe this discussion on the mailing list from a month ago goes over
> the same issue: https://mail-archives.apache.org/mod_mbox/zookeeper-user/
> 201711.mbox/%3cCABinuxd3bNjYW2p=6t4ztmGzk7U5yiDu7otZv05FKcyK1c
> 6aPg@mail.gmail.com%3e
> The issue has been fixed in 3.5 and there are some issues that need to be
> taken into account regarding backwards compatibility if we are to fix this
> on the 3.4 line.
> Thanks,
> Abe
> On Tue, Dec 26, 2017, at 05:19, Shafique Jamal wrote:
> > Hello,
> >
> > I have documented my issue here:
> > https://stackoverflow.com/a/47956320/2251463
> >
> > When I use the ZooKeeper client to connect to a server, it takes the
> server
> > address from the "-server" command line argument, looks up the IP
> address,
> > and then tried to find the host name based on that IP address.
> >
> > If you're using an Amazon EC2 instance, then instead of getting something
> > like mysookeeperhost.mydomain.com for the host name, instead something
> like
> > ec2-35-169-37-216.compute-1.amazonaws.com will be returned.
> >
> > Is there an option to use the server address from the command line as the
> > host name?
> >
> > Thanks,

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message