From owner-freebsd-stable Sun Mar 11 19:47: 2 2001 Delivered-To: freebsd-stable@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 0EAD237B719 for ; Sun, 11 Mar 2001 19:47:00 -0800 (PST) (envelope-from jdp@wall.polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.11.1/8.11.1) with ESMTP id f2C3kmV83427; Sun, 11 Mar 2001 19:46:48 -0800 (PST) (envelope-from jdp@wall.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.11.1/8.11.0) id f2C3km905485; Sun, 11 Mar 2001 19:46:48 -0800 (PST) (envelope-from jdp) Date: Sun, 11 Mar 2001 19:46:48 -0800 (PST) Message-Id: <200103120346.f2C3km905485@vashon.polstra.com> To: stable@freebsd.org From: John Polstra Cc: dinesh@alphaque.com Subject: Re: DNS related sendmail hangs with 4.3-BETA kernel In-Reply-To: References: Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article , Dinesh Nair wrote: > > On Sun, 11 Mar 2001, John Polstra wrote: > > > Sendmail (and _only_ sendmail) hangs trying to use DNS to resolve > > addresses. The DNS calls eventually time out and fail, but it takes a > > john, > > i saw the same thing when i moved from 4.1R to 4.3-BETA over the last > week. sendmail by default is compiled with IPv6 support and this is what's > causing the seemingly hang when it sends out email. ethereal confirmed > that it was sending out IPv6 DNS queries and attempting to connect thru > IPv6 before reverting back to IPv4. > > remove the "-DNETINET6" in /usr/src/usr.sbin/sendmail/Makefile and rebuild > sendmail. works fine for me after that. Thanks for the reply. In my case the update of "src/lib/libc/net/res_send.c" that Gregory Neil Shapiro pointed out was the solution to the problem. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message