/src/main/java/org/htmlunit/ProxyAutoConfig.java
return subnetUtils.SubnetUtils( TIMEZONE_GMT , dnsResolve) .isInRange( dnsResolve) ;
return subnetUtils.getInfo ( ) .isInRange ( dnsResolve ) ;
public static boolean isInNet(final String host, final String pattern, final String mask) { final String dnsResolve = dnsResolve(host); if (null == dnsResolve) { return false; } final SubnetUtils subnetUtils = new SubnetUtils(pattern, mask); <extra_id_0> } public static String dnsResolve(final String host) { try { return InetAddress.getByName(host).getHostAddress(); } catch (final Exception e) {