From mboxrd@z Thu Jan 1 00:00:00 1970 From: presotto@closedmind.org To: 9fans@cse.psu.edu Subject: Re: [9fans] ftpd MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-fijaodskatsctxbxqiapxlbqaj" Message-Id: <20020117032452.CEE3B19A72@mail.cse.psu.edu> Date: Wed, 16 Jan 2002 22:24:51 -0500 Topicbox-Message-UUID: 3e78ea86-eaca-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-fijaodskatsctxbxqiapxlbqaj Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit correcto mundo I left pointers in order because idiot systems that reverse lookup to allow operations often only look at the first returned record so I kept the most likely first. --upas-fijaodskatsctxbxqiapxlbqaj Content-Type: message/rfc822 Content-Disposition: inline Received: from plan9.cs.bell-labs.com ([135.104.9.2]) by plan9; Wed Jan 16 18:26:16 EST 2002 Received: from mail.cse.psu.edu ([130.203.4.6]) by plan9; Wed Jan 16 18:26:15 EST 2002 Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.20.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id C182219A67; Wed, 16 Jan 2002 18:26:05 -0500 (EST) Delivered-To: 9fans@cse.psu.edu Received: from collyer.net (collyer.ca [66.120.90.185]) by mail.cse.psu.edu (CSE Mail Server) with SMTP id 66B2E19A57 for <9fans@cse.psu.edu>; Wed, 16 Jan 2002 18:25:32 -0500 (EST) To: 9fans@cse.psu.edu Subject: Re: [9fans] ftpd From: geoff@collyer.net MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20020116232532.66B2E19A57@mail.cse.psu.edu> Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.8 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Help: List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Wed, 16 Jan 2002 15:22:55 -0800 Actually, Plan 9 dns returns resource records of types A, MX and NS only in random order. This is the relevant fragment from ndb/dn.c: /* just randomize addresses and mx's */ for(x = rp; x; x = x->next) if(x->type != Ta && x->type != Tmx && x->type != Tns) return rp; In particular, PTR records are returned in the order in which the dom= clauses that they are generated from were read, if I remember it right. This doesn't help much if you have DNS secondaries running BIND, since they will randomise all RRs, but can sometimes be of help locally. --upas-fijaodskatsctxbxqiapxlbqaj--