public class DNSJavaResolver extends Object implements DNSResolver
| Modifier and Type | Method and Description |
|---|---|
static DNSResolver |
getInstance() |
List<SRVRecord> |
lookupSRVRecords(String name)
Gets a list of service records for the specified service.
|
public static DNSResolver getInstance()
public List<SRVRecord> lookupSRVRecords(String name) throws org.xbill.DNS.TextParseException
DNSResolverlookupSRVRecords in interface DNSResolvername - The symbolic name of the service.org.xbill.DNS.TextParseException