Class MxLookup


  • @ThreadSafe
    public class MxLookup
    extends Object
    The MxLookup class determines the MTA servers responsible from a domain by querying the MX records from the DNS system.
    • Constructor Summary

      Constructors 
      Constructor Description
      MxLookup()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.xbill.DNS.Name[] queryMxTargets​(Domain domain)
      Returns an ordered host name list based on the MX records of the domain.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait