From owner-freebsd-questions Thu May 1 09:57:41 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA02567 for questions-outgoing; Thu, 1 May 1997 09:57:41 -0700 (PDT) Received: from mail.id.net (mail.id.net [199.125.1.6]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA02546; Thu, 1 May 1997 09:57:35 -0700 (PDT) Received: from server.id.net (server.id.net [199.125.2.20]) by mail.id.net (8.8.5/8.8.5) with ESMTP id MAA23863; Thu, 1 May 1997 12:58:18 -0400 (EDT) From: Robert Shady Received: (from rls@localhost) by server.id.net (8.8.5/8.7.3) id MAA15205; Thu, 1 May 1997 12:57:36 -0400 (EDT) Message-Id: <199705011657.MAA15205@server.id.net> Subject: Problem To: freebsd-current@freebsd.org Date: Thu, 1 May 1997 12:57:36 -0400 (EDT) Cc: freebsd-questions@freebsd.org, freebsd-bugs@freebsd.org X-Mailer: ELM [version 2.4ME+ PL31H (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I've got a serious problem with *ANY* 3.0 snapshots. I've seen several other people say in the mailing lists that they have experienced similar problems, but I have yet to see a legitimate answer to them. PLEASE respond asap. The problem: In certain software packages, the gethostbyname call appears to fail. The software: (so far) sendmail, and harvest The scenario: Webserver - Approximately 100 virtual hosts. Running nothing but YP client, webservices, and sendmail with client (forward) configuration. /etc/host.conf ============== # $FreeBSD$ # Default is to use the nameserver first bind # If that doesn't work, then try the /etc/hosts file hosts # If you have YP/NIS configured, uncomment the next line nis # -rwxrwxr-x 1 root wheel 178 May 1 00:03 /etc/host.conf Sendmail complains: =================== ... May 1 08:43:33 www001 sendmail[4405]: gethostbyaddr() failed for 199.125.2.95 May 1 08:43:33 www001 sendmail[4405]: gethostbyaddr() failed for 199.125.2.96 May 1 08:43:33 www001 sendmail[4405]: gethostbyaddr() failed for 199.125.2.97 May 1 08:43:33 www001 sendmail[4405]: gethostbyaddr() failed for 199.125.2.98 May 1 08:43:33 www001 sendmail[4405]: gethostbyaddr() failed for 199.125.2.99 Harvest complains: ================== broker: 970430 23:43:07: select returned: 1 broker: 970430 23:43:07: host_cache: get_host (199.125.2.24) broker: 970430 23:43:07: getfullhostname: gethostbyname(www001.id.net) returned NULL. broker: 970430 23:43:07: host_cache: get_host (www001.id.net) broker: 970430 23:43:07: host_cache: hash index = 425 broker: 970430 23:43:07: new_host: Adding www001.id.net broker: 970430 23:43:07: xmalloc: Allocated 14 bytes for 0x75a530. broker: 970430 23:43:07: new_host: gethostbyname(www001.id.net) failed. broker: 970430 23:43:07: new_host: www001.id.net: unknown host broker: 970430 23:43:07: xfree: Deallocating space for 0x75a530 broker: 970430 23:43:07: Can't get my own host info!? -- Rob === _/_/_/_/_/ _/_/_/_/ _/_/ _/ _/_/_/_/_/ _/_/_/_/_/ _/ _/ _/ _/_/_/ _/ _/ _/ _/_/_/_/ _/ _/_/_/_/_/ _/_/_/_/ _/ _/ _/_/_/_/_/ _/ Innovative Data Services Serving South-Eastern Michigan Internet Service Provider / Hardware Sales / Consulting Services Voice: (810)855-0404 / Fax: (810)855-3268 / Web: http://www.id.net