Re: What is a caching name server?

2005-05-20 Thread Christian Recktenwald
On Thu, May 19, 2005 at 10:15:41PM -0700, [EMAIL PROTECTED] wrote:
 Hello list,
 
 in several posts I have noticed people refer to a caching nameserver.
 What exactly is that?  

It's a nameserver without local zone information except for
root-hints and, perhaps, localhost.

 Would BIND 9.3.1 qualify?  

Yes.

Most Linux distributions (if you're happen to use one) have a default
configuration for bind to run as caching nameserver.

Minimal bind config on a Debian system:
--
options {
directory /var/cache/bind;
version none of your business;
};

// prime the server with knowledge of the root servers
zone . {
type hint;
file /etc/bind/db.root;
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone localhost {
type master;
file /etc/bind/db.local;
};

zone 127.in-addr.arpa {
type master;
file /etc/bind/db.127;
};

zone 0.in-addr.arpa {
type master;
file /etc/bind/db.0;
};

zone 255.in-addr.arpa {
type master;
file /etc/bind/db.255;
};
--

HTH, Chris

-- 
Christian Recktenwald  : :
citecs GmbH: [EMAIL PROTECTED]
Unternehmensberatung fuer  : voice +49 711 601 2090  : Boeblinger Strasse 189
EDV und Telekommunikation  : fax   +49 711 601 2092  : D-70199 Stuttgart


Re: What is a caching name server?

2005-05-20 Thread Martin Hepworth
Hi
yes Bind will become a caching only name server if you don;t have any 
local zone files to lookup. Basically think of it as a proxy with 
memory. It will remember previous look ups so it won't ask it's 
resolvers again (unless the timeout value on the record has been reached).

--
Martin Hepworth
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300
[EMAIL PROTECTED] wrote:
Hello list,
in several posts I have noticed people refer to a caching nameserver.
What exactly is that?  Would BIND 9.3.1 qualify?  Any advice would be
greatly appreciated.
Regards,
Devin
**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.   
**


Re: What is a caching name server?

2005-05-20 Thread Martin Schröder
On 2005-05-19 22:15:41 -0700, [EMAIL PROTECTED] wrote:
 in several posts I have noticed people refer to a caching nameserver.
 What exactly is that?  Would BIND 9.3.1 qualify?  Any advice would be

http://www.google.com/search?q=caching+nameserver

HTH. HAND.
-- 
http://www.tm.oneiros.de


Re: What is a caching name server?

2005-05-20 Thread email builder
  in several posts I have noticed people refer to a caching nameserver.
  What exactly is that?  Would BIND 9.3.1 qualify?  Any advice would be
  greatly appreciated.

 yes Bind will become a caching only name server if you don;t have any 
 local zone files to lookup. Basically think of it as a proxy with 
 memory. It will remember previous look ups so it won't ask it's 
 resolvers again (unless the timeout value on the record has been reached).
 

Really?

1) why would Bind NOT cache domain lookups for domains that are not listed in
your local zone files?  that seems rediculous.  is there any way to host your
company's domains in a Bind instance that also caches lookups?

2) is there a way to test a Bind server to make sure it is in fact caching
its lookups?




__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 


Re: What is a caching name server?

2005-05-20 Thread Roman Volf
email builder wrote:
in several posts I have noticed people refer to a caching nameserver.
What exactly is that?  Would BIND 9.3.1 qualify?  Any advice would be
greatly appreciated.
 

 

yes Bind will become a caching only name server if you don;t have any 
local zone files to lookup. Basically think of it as a proxy with 
memory. It will remember previous look ups so it won't ask it's 
resolvers again (unless the timeout value on the record has been reached).

   

Really?
1) why would Bind NOT cache domain lookups for domains that are not listed in
your local zone files?  that seems rediculous.  is there any way to host your
company's domains in a Bind instance that also caches lookups?
 

It will be a caching-only server if you don't have any local zone 
files. It will be both a caching server and a dns server once you 
add zones.

2) is there a way to test a Bind server to make sure it is in fact caching
its lookups?
 

		
__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 
 


--
Roman Volf
Keystreams Internet Solutions
[EMAIL PROTECTED]


Re: What is a caching name server?

2005-05-20 Thread lists
  in several posts I have noticed people refer to a caching nameserver.
 What exactly is that? 
It's a nameserver without local zone information except for
root-hints and, perhaps, localhost.
 Would BIND 9.3.1 qualify? 
Yes.
Both of our mail servers are also DNS boxes with real zones.  Is there any 
way
for BIND to act both as a normal DNS server for domains and also a caching
nameserver?
Regards,
Devin


Re: What is a caching name server?

2005-05-20 Thread Niek
On 5/20/2005 11:52 AM +0200, [EMAIL PROTECTED] wrote:
Both of our mail servers are also DNS boxes with real zones.  Is there 
any way
for BIND to act both as a normal DNS server for domains and also a caching
nameserver?
Yes, read the BIND documentation.
Niek


Re: What is a caching name server?

2005-05-20 Thread Mirko Steiner
http://cr.yp.to/djbdns.html
simple, small, fast.
--
Mirko Steiner
Gesotec Soft- und Hardware GmbH
Hilpertstr. 35
D-64295 Darmstadt
Tel: +49 (6151) 66 777 50
Fax: +49 (6151) 66 777 59
http://www.gesotec.de


Re: What is a caching name server?

2005-05-20 Thread Gene Heskett
On Friday 20 May 2005 01:15, [EMAIL PROTECTED] wrote:
Hello list,

in several posts I have noticed people refer to a caching
 nameserver. What exactly is that?  Would BIND 9.3.1 qualify?  Any
 advice would be greatly appreciated.

Regards,
Devin

On my systems, there is an 'nscd'.

Is this not a Name Service Caching Daemon?  Docs seem to be sparse for 
it here though.

-- 
Cheers, Gene
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
99.34% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.


Re: What is a caching name server?

2005-05-20 Thread David Birnbaum
nscd is a Solaris daemon (perhaps other OSs as well) that caches 
gethostbynam()/gethostbyaddr() lookups (and others of that ilk), but not all of 
the DNS lookups that SpamAssassin uses (I think SpamAssassin may specifically 
bypass some of those by use Net::DNS directly instead of the built-in OS 
resolver routines).

nscd is controlled by parameters in /etc/nscd.conf.  You may see big performance 
gains for IP and name lookup if you tune the negative caching paremters up on 
busy mail servers, in any case.

David.
-
On Fri, 20 May 2005, Gene Heskett wrote:
On Friday 20 May 2005 01:15, [EMAIL PROTECTED] wrote:
Hello list,
in several posts I have noticed people refer to a caching
nameserver. What exactly is that?  Would BIND 9.3.1 qualify?  Any
advice would be greatly appreciated.
Regards,
Devin
On my systems, there is an 'nscd'.
Is this not a Name Service Caching Daemon?  Docs seem to be sparse for
it here though.
--
Cheers, Gene
There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
99.34% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.


RE: What is a caching name server?

2005-05-20 Thread Jim Knowler
 2) is there a way to test a Bind server to make sure it is in fact caching
 its lookups?

dig(1) - Linux man page ... dig (domain information groper) is a flexible
tool for interrogating DNS name servers.

http://www.die.net/doc/linux/man/man1/dig.1.html
 



What is a caching name server?

2005-05-19 Thread lists
Hello list,
in several posts I have noticed people refer to a caching nameserver.
What exactly is that?  Would BIND 9.3.1 qualify?  Any advice would be
greatly appreciated.
Regards,
Devin