Received: by taz.hyperreal.com (8.7.6/V2.0) id UAA03802; Wed, 23 Oct 1996 20:12:59 -0700 (PDT) Received: from luers.qosina.com by taz.hyperreal.com (8.7.6/V2.0) with ESMTP id UAA03795; Wed, 23 Oct 1996 20:12:56 -0700 (PDT) Received: (from awm@localhost) by luers.qosina.com (8.7.6/8.7.3) id XAA19543 for new-httpd@hyperreal.com; Wed, 23 Oct 1996 23:12:42 -0400 From: Aram Mirzadeh Message-Id: <199610240312.XAA19543@luers.qosina.com> Subject: Re: get_remote_name performance tweak To: new-httpd@hyperreal.com Date: Wed, 23 Oct 1996 23:12:42 -0400 (EDT) In-Reply-To: <14596.845972015@get.wired.com> from "Dean Gaudet" at Oct 22, 96 01:13:35 am MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: owner-new-httpd@apache.org Precedence: bulk Reply-To: new-httpd@hyperreal.com Dean Gaudet said: > > Below is a patch (against 1.1.1) that adds another type to get_remote_name -- > REMOTE_NOLOOKUP. This skips the lookup and returns the name/ip that is > known already. This is then used in update_child_status so that no > DNS lookups are forced for the status page. Just for giggles, has anyone thought about making this a cache DNS rather than a forced lookup, don't lookup deal? Excluding the cpu cost of doing a dns lookup, I don't see a reason why someone wouldn't want a dns name rather the ip. ( assuming they want some dns in the first place). We use it just to see the percentages between us and foreign hits. -- | Aram Mirzadeh I'm not under the alkafluence of inkahol| MIS Manager that some thinkle peep I am. | Qosina Corp. It's just the drunker I sit here the | http://www.qosina.com/~awm/ longer I get. | awm@qosina.com | Apache httpd - awm@hyperreal.com -- PGP Key http://www.qosina.com/~awm/pgpkey.html -- -- BE 49 9D F6 2A A7 22 FC 02 E9 1E 3D F7 0C 67 A0 --