LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-24-2006, 11:04 PM   #1
shipon_97
Member
 
Registered: Oct 2005
Location: Bangladesh
Posts: 490

Rep: Reputation: 30
Smile DNS Resolver Cache


Dear Friends ,

I want to know about "DNS Resolver Cache" .
What is the activity of it ? Is it a one type of cache where different types of URL request is stored ? Plz inform me.....thx
 
Old 04-25-2006, 03:28 AM   #2
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.1
Posts: 1,469

Rep: Reputation: 46
dns cache is a cache of DNS requests that have recently been given to a machine. This means that your client doesnt have to keep querying dns servers over and over for the same thing.

This is part of most OSes.
 
Old 04-25-2006, 03:32 AM   #3
mickyg
Member
 
Registered: Oct 2004
Location: UK
Distribution: Ubuntu/Kubuntu
Posts: 249

Rep: Reputation: 30
DNS resolver cache is a cache of all the domain names and their resolved I.P. addresses. It gets added to when you request information from a machine in a domain which your machine doesn't already know the I.P. address of, i.e. there isn't an entry in the DNS cache already.

So to say 'URL requests' is not technically correct since a URL could contain the name of a file, such as a .html file. The URL wouldn't get stored in the DNS cache, however, the hosting machines domain name and I.P. address would be.

I am ashamed to say I don't know how to display the dns cache in linux but in windows you can see it using this command:

ipconfig /displaydns

Optionally you can pipe that through the 'more' application:

ipconfig /displaydns | more

Last edited by mickyg; 04-25-2006 at 03:33 AM.
 
Old 04-25-2006, 04:20 AM   #4
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.1
Posts: 1,469

Rep: Reputation: 46
on second thought's i'm not sure caching dns records on clients is the default in linux.

I'll have to check this out.....
 
Old 04-25-2006, 09:06 AM   #5
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 233Reputation: 233Reputation: 233
Thank you for asking an interesting question.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how-to flush dns cache PlatinumRik Linux - Networking 6 07-27-2011 02:47 PM
The DNS-resolver doesn't work in my live-distro maxxflow Linux - Networking 9 05-23-2005 01:35 AM
dns client resolver Fraudulent SUSE / openSUSE 2 05-17-2005 10:12 AM
DNS cache clearing n.antonio Linux - Software 0 05-11-2003 08:44 PM
DNS Cache Architect Linux - Networking 2 10-25-2002 04:02 AM


All times are GMT -5. The time now is 09:52 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration