Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-22-2005, 06:38 AM   #1
Registered: Oct 2004
Location: India
Distribution: FC 12
Posts: 233

Rep: Reputation: 30
Is there a problem in my caching only name server

Hello everybody,
I have a FC3.
To increase my surfing speed (by that iota) I have configured a caching only name server - named.
When from the console I give dig "" I find that the query time is around 1500 ms for the first attempt. In subsequent attempts the is resolved in 2 ms. Indicating that the name server is working ok.
But say I start my machine, connect to internet, access through browser (mozilla etc). Naturally I expect the the caching server to cache the ip address of Ok, now I give command "dig" and I find that the query time is around 600 ms, whereas it should be of the order of 2ms. Now all subsequent digs are returned in 2 ms. It gives an indication that the caching server caches the ip addresses only if the dig is used, and not when the browser is used to access the site !!

Any explanation ?
Anybody ?

Thanks in advance.

Prabhat Soni
Old 02-22-2005, 07:47 AM   #2
Registered: Feb 2004
Posts: 273

Rep: Reputation: 30
Check if name server caching daemon (nscd) is running or not. If not then start it.

On RH/Fedora :

chkconfig nscd on
service nscd restart
Old 02-22-2005, 12:18 PM   #3
Registered: Apr 2003
Location: Juneau, Alaska
Posts: 247

Rep: Reputation: 31
Is your locas nameserver at the top of the list in /etc/resolv.conf?
Old 02-23-2005, 03:43 AM   #4
Registered: Oct 2004
Location: India
Distribution: FC 12
Posts: 233

Original Poster
Rep: Reputation: 30
Hello Linuxxed and Camelrider,

LInuxxed: Then namer server "named" is already running. I am not sure wether now nscd is also required to be run. Please confirm/guide.

Camelrider: The local name server - in the form the entry " nameserver" is at the top in the /etc/resolv.conf. IN fact the dig command states the name of this name server in the query output.

Thanks nevertheless.
Waiting !!

Prabhat Soni


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
Caching DNS server error (lame server resolving) Iggyboo Linux - Networking 1 02-24-2005 04:43 AM
Caching FTP server dlublink SUSE / openSUSE 0 01-04-2005 01:10 PM
DNS Caching Server Itsu Linux - Networking 2 10-07-2004 12:49 AM
Caching Proxy Server TechnoBod Linux - Networking 2 10-22-2003 01:21 PM
No IP and Caching DNS server fmertus Linux - Networking 2 06-27-2003 01:33 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:33 PM.

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