From owner-freebsd-questions@FreeBSD.ORG Tue Apr 4 08:18:10 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 78FC316A41F for ; Tue, 4 Apr 2006 08:18:10 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.187.76.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E21343D45 for ; Tue, 4 Apr 2006 08:18:08 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from [172.16.3.238] (gateway.ash.thebunker.net [213.129.64.4]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.13.6/8.13.6) with ESMTP id k348HpsC033641 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 4 Apr 2006 09:17:58 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <44322BA8.5060009@infracaninophile.co.uk> Date: Tue, 04 Apr 2006 09:17:44 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 1.5 (X11/20060401) MIME-Version: 1.0 To: Marlon Martin References: In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enig57B0C4418AFFAC5C41D0E763" X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (smtp.infracaninophile.co.uk [81.187.76.162]); Tue, 04 Apr 2006 09:17:58 +0100 (BST) X-Virus-Scanned: ClamAV 0.88/1374/Tue Apr 4 06:50:45 2006 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: localhost dns X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Apr 2006 08:18:10 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig57B0C4418AFFAC5C41D0E763 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable 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 addresse= s, > 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 t= he 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 --=20 Dr Matthew J Seaman MA, D.Phil. Flat 3 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW, UK --------------enig57B0C4418AFFAC5C41D0E763 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----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----- --------------enig57B0C4418AFFAC5C41D0E763--