Forum Moderators: travelin cat

Message Too Old, No Replies

Can I display DNS Cache on a MAC

         

sailships

7:22 pm on Mar 14, 2006 (gmt 0)

10+ Year Member



I aware of how to display and flush DNS Cache on a windows machine...

...and I know how to flush DNS Cache on a MAC...

But is there a way to *display* the DNS Cache on a MAC?

Thanks

whoisgregg

3:07 pm on Mar 15, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



lookupd is what does the caching in OS X 10.4.x. Perhaps this will provide some answers:

$ man lookupd

sailships

8:49 pm on Mar 20, 2006 (gmt 0)

10+ Year Member



I have the whole BSD System Manager's Manual lookupd and have read it.

I find subtitles that I think may apply to me, however, either it doesnt include the actual command, or I am missing it as a result of being new to MAC's.
Hence, my request to someone with more experience than I.

Some of the sections I have found, but that I feel dont include my answers are:

*CacheAgent*
The operation and configuration of the cache agent are described in detail in the sections above. The configuration options for the Cache agent are ValidateCache, CacheCapacity, and TimeToLive. These options may be set globally and/or for specific categories.
Options set for a specific category will over-ride the global setting.

Note that CacheAgent should always appear first in a LookupOrder specification to allow lookupd to find cached entries before searching other information services.

CacheAgent does not support a startup argument (as described at the beginning of this section).

*DNSAgent*
DNSAgent is the DNS client. Cached DNS entries are validated simply by the time-to-live associated with the DNS records. DNSAgent is only used for host name/address and network name/address resolution.

The Mac OS X DNS library used by the DNS agent allows the system to have a number of separate DNS clients. Each DNS client has the address of one or more DNS servers (which the client regards as being equivalent). Please refer to the resolver(5) man page for details on the Mac OS X DNS resolver.