LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   DNS cache (https://www.linuxquestions.org/questions/linux-newbie-8/dns-cache-904463/)

drManhattan 09-22-2011 12:15 PM

DNS cache
 
Hi

Does linux contains DNS cache from client perspective ?
Sth similar to WinXP cmd `ipconfig /displaydns`.

thx for help

ramram29 09-22-2011 12:22 PM

There's a daemon called nscd which can cache dns. Simply run it. First make sure the file /etc/nscd.conf has the line "enable-cache hosts yes". There are other dns caching programs out there like dnsmasq.

drManhattan 09-23-2011 03:02 AM

So does it mean that after installing system, there is no DNS cache daemon on board and it must be installed additionally ?

ramram29 09-23-2011 03:28 PM

Most popular distributions already come with this configured. On my debian squeeze nscd is always automatically setup during the install.


All times are GMT -5. The time now is 03:16 PM.