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