org.apache.james.services
Interface DNSServer

All Known Implementing Classes:
DNSServer

public interface DNSServer

Provides abstraction for DNS resolutions. The interface is Mail specific. It may be a good idea to make the interface more generic or expose commonly needed DNS methods.

Author:
Harmeet

Field Summary
static java.lang.String ROLE
           
 
Method Summary
 java.util.Collection findMXRecords(java.lang.String hostname)
           
 

Field Detail

ROLE

public static final java.lang.String ROLE
See Also:
Constant Field Values
Method Detail

findMXRecords

public java.util.Collection findMXRecords(java.lang.String hostname)
Returns:
collection of strings representing MX record values. The returned collection is sorted by priority.


"Copyright © 2001 Apache Jakarta Project. All Rights Reserved."