]
Sebastian Łaskawiec updated JGRP-2139:
--------------------------------------
Fix Version/s: 4.0.2
Implement DNS-based PING
------------------------
Key: JGRP-2139
URL:
https://issues.jboss.org/browse/JGRP-2139
Project: JGroups
Issue Type: Enhancement
Environment: * OpenShift and Kubernetes (service discovery is done using SRV
records)
* Any other environment that use {{A}} or {{SRV}} DNS records
Reporter: Sebastian Łaskawiec
Assignee: Sebastian Łaskawiec
Fix For: 4.0.2
DNS Discovery might be very useful in Cloud environments (such as Kubernetes or
OpenShift). They expose Services (which act as Load Balancers and Clustered Virtual IPs
for Pods (Docker Containers)) with DNS {{SRV}} entries using the following scheme:
{{_port._proto.ENDPOINT.service.namespace.sv.cluster.local}} (see [this
issue|https://github.com/kubernetes/kubernetes/issues/29420] for more information).
The implementation should also allow the following:
* Change the DNS Server address
* Change or override TTL values
* Change DNS record type (either {{A}} or {{SRV}}
** If the record type is {{SRV}}, it should also allow parting port
The implementation might be based on Oracle DNS tutorial:
http://docs.oracle.com/javase/7/docs/technotes/guides/jndi/jndi-dns.html