LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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: 504

Rep: Reputation: 31
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.2
Posts: 1,491

Rep: Reputation: 50
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.2
Posts: 1,491

Rep: Reputation: 50
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: 234Reputation: 234Reputation: 234
Thank you for asking an interesting question.
 
  


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:02 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