Package overit.geocall.util
Class Dns
java.lang.Object
overit.geocall.util.Dns
Utility class used to manage the DNS
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
LDAP_SERVICE
- See Also:
-
_dns
-
-
Constructor Details
-
Dns
Method constructor of DNS- Parameters:
host- A string containing the host
-
-
Method Details
-
lookupDomainServices
Method used to retrive the Service records- Parameters:
domain- The domainservice- The service- Returns:
- An array of SRV
- Throws:
NamingException- if an exeption occurs during the Context and/or DirContext interfaces
-
main
- Throws:
NamingException
-