LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 08-06-2010, 10:17 AM   #1
felix001
Member
 
Registered: Jan 2009
Posts: 101

Rep: Reputation: 15
DNS Cache


When using the dns client in Solaris is DNS caching enabled/disabled by default ?
Is there anyway to enable it if not, and also is there a way when it is enabled to vew the DNS cache ?

Last edited by felix001; 08-06-2010 at 10:18 AM.
 
Old 08-06-2010, 11:47 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
There is no specific DNS cache but a generic name service one, nscd. It is enabled by default. You can get statistics with "nscd -g" but I don't recall there is a documented way to retrieve its content.
 
Old 08-08-2010, 04:11 PM   #3
felix001
Member
 
Registered: Jan 2009
Posts: 101

Original Poster
Rep: Reputation: 15
Do you know what the equivlant is on in Linux ?
 
Old 08-09-2010, 02:06 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
That would be ... nscd. Linux is nevertheless a Unix clone.
 
Old 08-09-2010, 03:31 AM   #5
felix001
Member
 
Registered: Jan 2009
Posts: 101

Original Poster
Rep: Reputation: 15
Are you sure Ive checked a debian and centos server and both do not have it by default. I imagine you could install it but I would of thouugh there would of been a DNS caching process installed by default.
 
Old 08-09-2010, 03:42 AM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
I understood your question not to be if Gnu/Linux distributions have it installed by default but for a Solaris nscd equivalent on Linux.
With the latter, there could be other mechanism to provide name caching, a quick google search shows dnscache as a contender.
 
Old 08-09-2010, 04:34 AM   #7
felix001
Member
 
Registered: Jan 2009
Posts: 101

Original Poster
Rep: Reputation: 15
Ok, what i meant is what is the method on Linux (Centos, Redhat etc etc) for DNS caching...?
 
Old 08-09-2010, 06:11 AM   #8
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
The method with these distributions is nscd, although not enabled by default.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Managed DNS server lists and dnsmasq DNS cache nitrousoxide82 Linux - Networking 1 02-21-2014 10:34 PM
DNS cache prollocks Red Hat 1 07-21-2009 09:04 AM
regarding dns cache gimmereeson Linux - Server 4 01-22-2007 07:41 PM
dns cache moob8 Slackware 4 10-15-2006 10:18 PM
DNS Cache Architect Linux - Networking 2 10-25-2002 04:02 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 08:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration