Class DefaultDNSResolver

    • Constructor Detail

      • DefaultDNSResolver

        public DefaultDNSResolver​(javax.naming.directory.DirContext context)
      • DefaultDNSResolver

        public DefaultDNSResolver​(java.lang.String dnsContextFactory,
                                  java.lang.String dnsAddress)
                           throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
    • Method Detail

      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface DNSResolver
      • getDnsContext

        protected javax.naming.directory.DirContext getDnsContext()
      • resolveSRVEntries

        protected java.util.List<Address> resolveSRVEntries​(java.lang.String dnsQuery)
      • resolveAEntries

        protected java.util.List<Address> resolveAEntries​(java.lang.String dnsQuery)
      • resolveAEntries

        protected java.util.List<Address> resolveAEntries​(java.lang.String dnsQuery,
                                                          java.lang.String srcPort)