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

All Known Implementing Classes:
DNSUtilsImpl
Enclosing class:
DNSUtils

public static interface DNSUtils.DNSUtilsIntf


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

Method Detail

getInitialDirContext

DNSUtils.DNSDirContext getInitialDirContext()
                                            throws java.lang.Exception
Throws:
java.lang.Exception

getDirContextForServer

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

getIPV6ByName

java.net.Inet6Address getIPV6ByName(java.lang.String host)
                                    throws java.net.UnknownHostException
Throws:
java.net.UnknownHostException

getAllByName

java.util.List<java.net.InetAddress> getAllByName(java.lang.String host)
                                                  throws java.net.UnknownHostException
Throws:
java.net.UnknownHostException

getAllByName

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

getTXTRecords

java.util.List<java.lang.String> getTXTRecords(java.lang.String query)

getTXTRecord

java.lang.String getTXTRecord(java.lang.String query)
                              throws java.net.UnknownHostException
Throws:
java.net.UnknownHostException