class DefaultInetAddressReachability implements Reachability {

    @Override
    public boolean isReachable(final Host host) {
        try {
            return InetAddress.getByName(host.getHostname()).isReachable(
                preferences.getInteger("connection.timeout.seconds") * 1000
            );
        }
        catch(IOException e) {
            return false;
        }
    }

}