Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

DNS Caching on Desktop System?

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
dialUp
Posts: 16
Joined: 2016-02-01 20:37
Location: Fairbanks, Alaska

DNS Caching on Desktop System?

#1 Post by dialUp »

Hi. I was wondering if a standard Debian 8 system with Gnome desktop does any kind of local dns caching, and if so, what the command is for clearing it. (Assuming I haven't purposely installed any DNS server software.)

I found multiple posts on the Web about unix DNS caching, but with widely different answers across distributions and across time.

User avatar
dasein
Posts: 7680
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: DNS Caching on Desktop System?

#2 Post by dasein »

I avoid Debian 8 and GNOME so I can't say for sure, but in Whezy, whatever DNS caching was available in a plain-vanilla install was browser-based, not system-wide.

AFAIK, the most commonly used local DNS cache (not local DNS) is nscd. To see if it's installed

Code: Select all

apt-cache policy nscd

User avatar
ralph.ronnquist
Posts: 342
Joined: 2015-12-19 01:07
Location: Melbourne, Australia
Been thanked: 6 times

Re: DNS Caching on Desktop System?

#3 Post by ralph.ronnquist »

You could also try

Code: Select all

# netstat -n --all --programs | grep udp
to see if there is UDP service for port 53 (the third column ending in :53).

I have a so far fairly pristine Debian 8 (only added palemoon and newlisp), and it does not run a local DNS. I might of course have removed while trying to improve on the 25 s boot time, but not as I can remember it.

Post Reply