Lines Matching defs:host
40 // both providers know this host, but with different address
42 // provider1 knwos this host
44 // provider2 knows this host
62 private static void doLookup(String host, String addr) throws Exception {
63 String res = InetAddress.getByName(host).getHostAddress();
65 throw new RuntimeException("Test failed: wrong address for host " + host);
69 private static void doReverseLookup(String addr, String host) throws Exception {
76 if (!res.equals(host)) {
77 throw new RuntimeException("Test failed: wrong host name for address " + addr);