public interface DNSServiceResolver
See: http://en.wikipedia.org/wiki/SRV_record
Modifier and Type | Field and Description |
---|---|
static String |
DNS_CACHE_EXPIRY
DNS Cache Expiry property
|
static String |
LDAP_SERVICE_PREFIX
Prefix to locate LDAP service on DNS Server.
|
Modifier and Type | Method and Description |
---|---|
List<DNSServiceEntry> |
resolveLDAPDomainServers(String domain)
Returns a list of LDAP servers for the specified domain by performing an SRV DNS lookup on _ldap._tcp.${domain}.
|
List<DNSServiceEntry> |
resolveLDAPDomainServers(String domain,
String prefix)
Returns a list of LDAP servers for the specified domain by performing an SRV DNS lookup using a custom DNS
service prefix.
|
static final String DNS_CACHE_EXPIRY
static final String LDAP_SERVICE_PREFIX
service: _ldap
protocol: _tcp
List<DNSServiceEntry> resolveLDAPDomainServers(String domain) throws NamingException
domain
- NamingException
List<DNSServiceEntry> resolveLDAPDomainServers(String domain, String prefix) throws NamingException
domain
- prefix
- custom SRV prefix such as "_gc._tcp"NamingException
Copyright © 2018 Nuxeo. All rights reserved.