From owner-freebsd-questions@FreeBSD.ORG Wed Apr 6 17:53:44 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9DA416A4CE for ; Wed, 6 Apr 2005 17:53:44 +0000 (GMT) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D61443D1F for ; Wed, 6 Apr 2005 17:53:44 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 88D835D08; Wed, 6 Apr 2005 13:53:43 -0400 (EDT) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 46350-01; Wed, 6 Apr 2005 13:53:40 -0400 (EDT) Received: from [192.168.1.3] (pool-68-161-53-96.ny325.east.verizon.net [68.161.53.96]) by pi.codefab.com (Postfix) with ESMTP id 34C4C5CE7; Wed, 6 Apr 2005 13:53:39 -0400 (EDT) Message-ID: <425421D0.8010607@mac.com> Date: Wed, 06 Apr 2005 13:52:16 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Martin Petraschek References: In-Reply-To: X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com cc: "freebsd-questions@freebsd.org" Subject: Re: Viewing DNS cache entries X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Apr 2005 17:53:44 -0000 Martin Petraschek wrote: [ ... ] > Thank you, Dan. I was not aware of the fact that FreeBSD does not cache > DNS entries unless you are running a name server. At least some versions of the standard C library will cache the last DNS looked up, and reuse that value if the process asks about the same host again. That turns out to be almost free to do, and is still reasonably helpful for many cases. However, FreeBSD does not have a global cache the way Windows does, or things like nscd (Solaris) or lookupd (MacOS X)... -- -Chuck