Re: localhost dns

2006-04-05 Thread michael
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

  


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: localhost dns

2006-04-04 Thread Andy Farkas

On Tue, 4 Apr 2006, 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


Use rndc(8) to dump the cache.

-andyf
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: localhost dns

2006-04-04 Thread Matthew Seaman
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



signature.asc
Description: OpenPGP digital signature