From owner-freebsd-questions@FreeBSD.ORG Wed Apr 5 20:39:32 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 DEF0616A420 for ; Wed, 5 Apr 2006 20:39:32 +0000 (UTC) (envelope-from micatod@koproject.org) Received: from smtp2-g19.free.fr (smtp2-g19.free.fr [212.27.42.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 503C043D67 for ; Wed, 5 Apr 2006 20:39:31 +0000 (GMT) (envelope-from micatod@koproject.org) Received: from [192.168.0.12] (lap34-2-82-237-92-40.fbx.proxad.net [82.237.92.40]) by smtp2-g19.free.fr (Postfix) with ESMTP id 05AA2731BA; Wed, 5 Apr 2006 22:39:29 +0200 (CEST) Message-ID: <44342B0B.3080001@koproject.org> Date: Wed, 05 Apr 2006 22:39:39 +0200 From: michael User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051013) X-Accept-Language: fr, en MIME-Version: 1.0 To: Matthew Seaman References: <44322BA8.5060009@infracaninophile.co.uk> In-Reply-To: <44322BA8.5060009@infracaninophile.co.uk> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Cc: Marlon Martin , 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: Wed, 05 Apr 2006 20:39:33 -0000 For my own to test the cache: ping www.google.fr => ok i block the outside dns packet with my firewall ping www.google.fr => ok ping www.google.com => not ok Michael. Matthew Seaman a écrit : >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 > > >