From owner-freebsd-stable Fri Mar 16 6:40:34 2001 Delivered-To: freebsd-stable@freebsd.org Received: from brea.mc.mpls.visi.com (brea.mc.mpls.visi.com [208.42.156.100]) by hub.freebsd.org (Postfix) with ESMTP id A921F37B719; Fri, 16 Mar 2001 06:40:31 -0800 (PST) (envelope-from sdk@io.visi.com) Received: from io.visi.com (io.visi.com [209.98.251.25]) by brea.mc.mpls.visi.com (Postfix) with ESMTP id 23F672DDEC5; Fri, 16 Mar 2001 08:40:31 -0600 (CST) Received: (from sdk@localhost) by io.visi.com (8.11.1/8.11.1) id f2GEeUP16787; Fri, 16 Mar 2001 08:40:30 -0600 (CST) (envelope-from sdk) Date: Fri, 16 Mar 2001 08:40:30 -0600 From: Stephen Krans To: Hajimu UMEMOTO Cc: freebsd-stable@FreeBSD.org Subject: Re: 4.3-BETA2, name resolution problem? Message-ID: <20010316084030.A16744@visi.com> References: <20010315161333.A14337@visi.com> <20010316.181229.125831413.ume@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010316.181229.125831413.ume@FreeBSD.org>; from ume@FreeBSD.org on Fri, Mar 16, 2001 at 06:12:29PM +0900 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Mar 16, 2001 at 06:12:29PM +0900, Hajimu UMEMOTO wrote: > >>>>> On Thu, 15 Mar 2001 16:13:33 -0600 > >>>>> Stephen said: > > sdk> I've just installed 4.3-BETA2 and compiled a custom kernel with IPv6 > sdk> disabled and have nothing IPv6 related in /etc/rc.conf. I'm noticing slow > sdk> telnet and fetch connect times, and after snooping with Ethereal, found > > How slow is it? > > sdk> that it's trying to resolve my FQ hostname via DNS with a type 'AAAA' > sdk> (IPv6?) before falling back to type 'A'. 4.2-R doesn't appear to do this. > > Now, getaddrinfo(3) always queries AAAA RR in addition to A RR even if > kernel doesn't support IPv6. It is real behavior of getaddrinfo(3) > without specifying AI_ADDRCONFIG. Because, query for AAAA RR and A RR > is done in same time, it should not be a problem. Once there was DNS > query order problem at 4.0-RELEASE days. But, I believe it was > completely corrected. > I'm seeing a ~ 60 second delay before the name is resolved and the connection is made. During that delay period, Ethereal shows several consecutive AAAA lookups before an A lookup is sent and IP immediately returned. This server's DNS setup points to another FreeBSD machine running 8.2.3-REL, which is config'd as 'forward only' and passes my request (since it's a external hostname) down the line to (I believe) a Windows NT server where the name resolution is acutally done. sk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message