LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   regarding dns cache (https://www.linuxquestions.org/questions/linux-server-73/regarding-dns-cache-521597/)

gimmereeson 01-22-2007 01:31 AM

regarding dns cache
 
can the dns cache be found and its contents be read?

gilead 01-22-2007 02:38 AM

You don't say what name server you're running or if you have local access to it.

If you're running a recent version of BIND, try running:
Code:

/usr/sbin/rndc stats
/usr/sbin/rndc dumpdb

After the commands are complete, have a look in your zone files directory (usually /var/named, check the directory entry in the options section of /etc/named.conf to be sure though) for the files named.stats and named_dump.db.

gimmereeson 01-22-2007 06:05 AM

Thank you
 
thank you so much for the answer ,i could read the cache on the server i was given to work out.i just started my career as a systems admin.
these forums are realy helping me learn , someday i will give back as well.

gilead 01-22-2007 12:46 PM

No problem - I'm glad it helped :)

JimBass 01-22-2007 07:41 PM

The next version of BIND, 9.4 will allow you to filter access to the cache. At present, anyone can find a zone in your DNS cache just by asking, regardless of DNS configuration. 9.4 will take that away (as it should be) and only allow people who have authorization to do recursive lookups to get recursive cache info.

Peace,
JimBass


All times are GMT -5. The time now is 12:46 AM.