Date: Tue, 04 Apr 2006 09:17:44 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Marlon Martin <mmp013@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: localhost dns Message-ID: <44322BA8.5060009@infracaninophile.co.uk> In-Reply-To: <b2e814f30604032108n7999d085r39657c01eb659f22@mail.gmail.com> References: <b2e814f30604032108n7999d085r39657c01eb659f22@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Marlon Martin wrote:
> im running localhost dns(127.0.0.1), it works fine but my question is, is
> there any logs where i can check if it really caches remote ip addresses,
> like the website IP address im visiting like hotmail.com cnn google
> freebsd.org. thanks
Try 'rndc dumpdb' to examine the contents of the cache or 'rndc stats'.
The dumpdb command creates a file /var/named/var/dump/named_dump.db and the
stats command appends a short report to /var/named/var/stats/named.stats
by default (although these can be changed very easily by modifying named.conf)
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. Flat 3
7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW, UK
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEMiuu8Mjk52CukIwRA9jAAJ4wofy7uB9aJYblxBA9MCbptpCQ9gCfSbIe
aZzL/y7uX+GZfmFcrngvUA0=
=6UPG
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44322BA8.5060009>
