class MXHostAddressIterator implements Iterator<HostAddress> {

    @Override
    public boolean hasNext() {
        return addresses.hasNext();
    }

    public  MXHostAddressIterator(Iterator<String> hosts, DNSService dns, boolean useSingleIP);
    public  MXHostAddressIterator(Iterator<String> hosts, int defaultPort, DNSService dns, boolean useSingleIP);

}