com.aelitis.azureus.core.util
Interface DNSUtils.DNSUtilsIntf

All Known Implementing Classes:
DNSUtilsImpl
Enclosing class:
DNSUtils

public static interface DNSUtils.DNSUtilsIntf


Method Summary
 List<InetAddress> getAllByName(DNSUtils.DNSDirContext context, String host)
           
 List<InetAddress> getAllByName(String host)
           
 DNSUtils.DNSDirContext getDirContextForServer(String dns_server_ip)
           
 DNSUtils.DNSDirContext getInitialDirContext()
           
 Inet6Address getIPV6ByName(String host)
           
 String getTXTRecord(String query)
           
 List<String> getTXTRecords(String query)
           
 

Method Detail

getInitialDirContext

DNSUtils.DNSDirContext getInitialDirContext()
                                            throws Exception
Throws:
Exception

getDirContextForServer

DNSUtils.DNSDirContext getDirContextForServer(String dns_server_ip)
                                              throws Exception
Throws:
Exception

getIPV6ByName

Inet6Address getIPV6ByName(String host)
                           throws UnknownHostException
Throws:
UnknownHostException

getAllByName

List<InetAddress> getAllByName(String host)
                               throws UnknownHostException
Throws:
UnknownHostException

getAllByName

List<InetAddress> getAllByName(DNSUtils.DNSDirContext context,
                               String host)
                               throws UnknownHostException
Throws:
UnknownHostException

getTXTRecords

List<String> getTXTRecords(String query)

getTXTRecord

String getTXTRecord(String query)
                    throws UnknownHostException
Throws:
UnknownHostException