Re: Listening to Cassandra on IPv4 and IPv6 at the same time
Hi, FQDN = Fully Qualified Domain Name = IPv6 Address record in DNS A = IPv4 Address record in DNS He is saying, that by removing the resolution of a domain name (e.g cass1.acme.com) to only return an IPv4 address, and never return an IPv6 address, the issue that Cassandra only binds to one address goes away. Cheers Niclas On Sat, Mar 24, 2018 at 8:57 AM, Goutham reddy wrote: > Sudheer, > Seems interesting, can you please eloborate what is FQDN and where to > remove mapping. Appreciate your help. > > Thanks and Regards, > Goutham > > On Fri, Mar 23, 2018 at 2:34 PM sudheer k > wrote: > >> I found a solution for this. As Cassandra can’t bind to two addresses at >> a point in time according to the comments in cassandra.yaml file, we >> removed mapping to FQDN and kept only A(IPv4) mapping. So, FQDN >> resolves to IPv4 always and we can use FQDN in the application >> configuration while talking to Cassandra. >> >> Hope this helps someone who uses FQDN in the application config. >> >> Regards >> Sudheer >> >> On Fri, Mar 23, 2018 at 2:26 AM sudheer k >> wrote: >> >>> Hi, >>> >>> Can we listen to Cassandra on IPV4 and IPV6 at the same time? When I >>> refer to some documents on the internet, it says I can only bind to one >>> address at a point in time. >>> >>> In our application, we are talking to Cassandra on FQDN and application >>> gets either of IPv4 or IPv6 connecting to Cassandra. So, Cassandra has to >>> bind to both IPv4 and IPv6 at a point in time. >>> >>> If there is any configuration related to this change, can anyone please >>> let me know? >>> >>> -- >>> Regards >>> Sudheer >>> >> -- >> -- >> Regards >> Sudheer >> > -- > Regards > Goutham Reddy > -- Niclas Hedhman, Software Developer http://zest.apache.org - New Energy for Java
Re: Listening to Cassandra on IPv4 and IPv6 at the same time
Sudheer, Seems interesting, can you please eloborate what is FQDN and where to remove mapping. Appreciate your help. Thanks and Regards, Goutham On Fri, Mar 23, 2018 at 2:34 PM sudheer k wrote: > I found a solution for this. As Cassandra can’t bind to two addresses at a > point in time according to the comments in cassandra.yaml file, we removed > mapping to FQDN and kept only A(IPv4) mapping. So, FQDN resolves to > IPv4 always and we can use FQDN in the application configuration while > talking to Cassandra. > > Hope this helps someone who uses FQDN in the application config. > > Regards > Sudheer > > On Fri, Mar 23, 2018 at 2:26 AM sudheer k > wrote: > >> Hi, >> >> Can we listen to Cassandra on IPV4 and IPV6 at the same time? When I >> refer to some documents on the internet, it says I can only bind to one >> address at a point in time. >> >> In our application, we are talking to Cassandra on FQDN and application >> gets either of IPv4 or IPv6 connecting to Cassandra. So, Cassandra has to >> bind to both IPv4 and IPv6 at a point in time. >> >> If there is any configuration related to this change, can anyone please >> let me know? >> >> -- >> Regards >> Sudheer >> > -- > -- > Regards > Sudheer > -- Regards Goutham Reddy
Re: Listening to Cassandra on IPv4 and IPv6 at the same time
I found a solution for this. As Cassandra can’t bind to two addresses at a point in time according to the comments in cassandra.yaml file, we removed mapping to FQDN and kept only A(IPv4) mapping. So, FQDN resolves to IPv4 always and we can use FQDN in the application configuration while talking to Cassandra. Hope this helps someone who uses FQDN in the application config. Regards Sudheer On Fri, Mar 23, 2018 at 2:26 AM sudheer k wrote: > Hi, > > Can we listen to Cassandra on IPV4 and IPV6 at the same time? When I refer > to some documents on the internet, it says I can only bind to one address > at a point in time. > > In our application, we are talking to Cassandra on FQDN and application > gets either of IPv4 or IPv6 connecting to Cassandra. So, Cassandra has to > bind to both IPv4 and IPv6 at a point in time. > > If there is any configuration related to this change, can anyone please > let me know? > > -- > Regards > Sudheer > -- -- Regards Sudheer
Listening to Cassandra on IPv4 and IPv6 at the same time
Hi, Can we listen to Cassandra on IPV4 and IPV6 at the same time? When I refer to some documents on the internet, it says I can only bind to one address at a point in time. In our application, we are talking to Cassandra on FQDN and application gets either of IPv4 or IPv6 connecting to Cassandra. So, Cassandra has to bind to both IPv4 and IPv6 at a point in time. If there is any configuration related to this change, can anyone please let me know? -- Regards Sudheer