Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Apr 2005 13:52:16 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        Martin Petraschek <petraschek@ftw.at>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Viewing DNS cache entries
Message-ID:  <425421D0.8010607@mac.com>
In-Reply-To: <BLACKHOLENtzsG06vdG000027b7@mail.ftw.at>
References:  <BLACKHOLENtzsG06vdG000027b7@mail.ftw.at>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?425421D0.8010607>