Package org.jasen.interfaces

Examples of org.jasen.interfaces.DNSResolver


        String lookup = null;
        String strResult = null;
 
        Attributes result = null;
        Attribute attr = null;
        DNSResolver resolver = engine.getDnsResolver();
 
        for (int i = 0; i < rblRelays.size(); i++) {
          rbl = (String)rblRelays.get(i);
 
          lookup = senderIPAddress + "." + rbl;
 
          try {
            // Lookup
            logger.debug("Looking up " + lookup);
            result = resolver.lookup(lookup, "A");
 
            if(result != null) {
              // Get the returned address
                attr = result.get("A");
               
View Full Code Here

TOP

Related Classes of org.jasen.interfaces.DNSResolver

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.