Class DnsLookupWrapper


  • public class DnsLookupWrapper
    extends Object
    • Constructor Detail

      • DnsLookupWrapper

        public DnsLookupWrapper()
    • Method Detail

      • getInetAddressesByDnsLookUp

        public Set<InetAddress> getInetAddressesByDnsLookUp​(String hostName)
        Looks up for the IP addresses for the given host name.
        Parameters:
        hostName - the name to resolve
        Returns:
        the set of InetAddress resolved from the given name in the DNS order