/src/main/java/org/htmlunit/ProxyAutoConfig.java
if ( null == dnsResolve) { final String dnsResolve = dnsResolve( host) ;
final String dnsResolve = dnsResolve ( host ) ; if ( null == dnsResolve ) {
return host.length() > 1 && host.equals(hostdom) || host.indexOf('.') == -1 && hostdom.startsWith(host); } public static boolean isResolvable(final String host) { return dnsResolve(host) != null; } public static boolean isInNet(final String host, final String pattern, final String mask) { <extra_id_0> return false; } final SubnetUtils subnetUtils = new SubnetUtils(pattern, mask); return subnetUtils.getInfo().isInRange(dnsResolve); } public static String dnsResolve(final String host) {