From owner-freebsd-current Fri Jun 28 07:48:52 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA06345 for current-outgoing; Fri, 28 Jun 1996 07:48:52 -0700 (PDT) Received: from shogun.tdktca.com ([206.26.1.21]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id HAA06319 for ; Fri, 28 Jun 1996 07:48:39 -0700 (PDT) Received: from shogun.tdktca.com (daemon@localhost) by shogun.tdktca.com (8.7.2/8.7.2) with ESMTP id JAA06668 for ; Fri, 28 Jun 1996 09:49:55 -0500 (CDT) Received: from orion.fa.tdktca.com ([163.49.131.130]) by shogun.tdktca.com (8.7.2/8.7.2) with SMTP id JAA06661 for ; Fri, 28 Jun 1996 09:49:55 -0500 (CDT) Received: from orion (alex@localhost [127.0.0.1]) by orion.fa.tdktca.com (8.6.12/8.6.9) with SMTP id JAA13094; Fri, 28 Jun 1996 09:51:24 -0500 Message-ID: <31D3F16B.6F05A07E@fa.tdktca.com> Date: Fri, 28 Jun 1996 09:51:23 -0500 From: Alex Nash Organization: TDK Factory Automation X-Mailer: Mozilla 2.0 (X11; I; Linux 1.2.13 i586) MIME-Version: 1.0 To: Ollivier Robert CC: nate@mt.sri.com, current@FreeBSD.ORG Subject: Re: IPFW bugs? (fwd) References: <199606281414.QAA25287@keltia.freenix.fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Ollivier Robert wrote: > > It seems that Alex Nash said: > > I believe DNS/tcp is for zone transfers only. DNS/udp is all you need > > for standard lookups. > > Not really. If named see that the answer will be more than 512 bytes in > size, it will send the answer with the TF (truncated flag) bit set and the > resolver is supposed to re-try the query with TCP. Does our named do this? I (briefly) went looking for this behavior and found: if (hp->tc) { count -= arcount; /* truncation had to affect this */ if (!arcount) { count -= aucount; /* guess it got this too */ } if (!(arcount || aucount)) { count -= ancount; /* things are pretty grim */ } /* XXX - should retry this query with TCP */ } Alex