Using Java for 'nslookup -type=srv'

Posted by user321524 on Stack Overflow See other posts from Stack Overflow or by user321524
Published on 2010-04-22T22:54:48Z Indexed on 2010/04/22 23:13 UTC
Read the original article Hit count: 362

Filed under:
|
|
|

Hi:

Is there a way in Java to do a Nslookup search on SRV records?

I need to bind to Active Directory and would like to use the SRV records to help determine which of the ADs in the cluster are live.

In command line the nslookup search string is: 'nslookup -type=srv _ ldap._tcp.ActiveDirectory domain name'

Thanks.

© Stack Overflow or respective owner

Related posts about java

Related posts about active-directory