Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Apr 2006 22:39:39 +0200
From:      michael <micatod@koproject.org>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        Marlon Martin <mmp013@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: localhost dns
Message-ID:  <44342B0B.3080001@koproject.org>
In-Reply-To: <44322BA8.5060009@infracaninophile.co.uk>
References:  <b2e814f30604032108n7999d085r39657c01eb659f22@mail.gmail.com> <44322BA8.5060009@infracaninophile.co.uk>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44342B0B.3080001>