*** squid.FCS/src/dns_internal.c Wed Oct 4 13:18:11 2000 --- squid/src/dns_internal.c Wed Feb 14 17:50:56 2001 *************** *** 100,105 **** --- 100,110 ---- debug(78, 0) ("WARNING: rejecting '%s' as a name server, because it is not a numeric IP address\n", buf); return; } + if (A.s_addr == 0) { + debug(78, 0) ("WARNING: Squid does not accept 0.0.0.0 in DNS server specifications.\n"); + debug(78, 0) ("Will be using 127.0.0.1 instead, assuming you meant that DNS is running on the same machine\n"); + safe_inet_addr("127.0.0.1", &A); + } if (nns == nns_alloc) { int oldalloc = nns_alloc; ns *oldptr = nameservers;