Class DNSUtil


  • public class DNSUtil
    extends java.lang.Object
    Utility class to perform DNS lookups for XMPP services.
    • Constructor Detail

    • Method Detail

      • setDNSResolver

        public static void setDNSResolver​(DNSResolver resolver)
        Set the DNS resolver that should be used to perform DNS lookups.
        Parameters:
        resolver - TODO javadoc me please
      • getDNSResolver

        public static DNSResolver getDNSResolver()
        Returns the current DNS resolved used to perform DNS lookups.
        Returns:
        the active DNSResolver
      • setDaneProvider

        public static void setDaneProvider​(SmackDaneProvider daneProvider)
        Set the DANE provider that should be used when DANE is enabled.
        Parameters:
        daneProvider - TODO javadoc me please
      • getDaneProvider

        public static SmackDaneProvider getDaneProvider()
        Returns the currently active DANE provider used when DANE is enabled.
        Returns:
        the active DANE provider