what does "max-ncache-ttl 0;" mean?

A. Renald Niswady renaldre at orion.net.id
Wed Mar 2 07:32:25 UTC 2016


hehehe, 

http://www.zytrax.com/books/dns/ch7/hkpng.html#max-ncache-ttl 

i found zytrax site is really helpful 


Regards 
-Renald- 

----- Original Message -----

From: "John W. Blue" <john.blue at rrcic.com> 
To: "A. Renald Niswady" <renaldre at orion.net.id>, "blrmaani" <blrmaani at gmail.com> 
Cc: comp-protocols-dns-bind at isc.org 
Sent: Wednesday, March 2, 2016 2:27:49 PM 
Subject: RE: what does "max-ncache-ttl 0;" mean? 



Now quote your source. 



;) 




From: bind-users-bounces at lists.isc.org [mailto:bind-users-bounces at lists.isc.org] On Behalf Of A. Renald Niswady 
Sent: Wednesday, March 02, 2016 1:23 AM 
To: blrmaani 
Cc: comp-protocols-dns-bind at isc.org 
Subject: Re: what does "max-ncache-ttl 0;" mean? 





max-ncache-ttl sets the maximum time (in seconds) for which the server will cache negative (NXDOMAIN) answers (positives are defined by max-cache-ttl ). The default max-ncache-ttl is 10800 seconds (3 hours). max-ncache-ttl cannot exceed 7 days and will be silently truncated to 7 days if set to a greater value. This statement may be used in view or a global options clause. 





Regards, 
A. Renald Niswady 
[NOC-System] Orion Cyber Internet 



PT Orion Cyber Internet 
Gedung Cyber Lt. 1 Jl. Kuningan Barat No. 8, Jakarta Selatan 12710 
Telp: 021 5265566 - Fax: 021 6280883 
Homepage: http://www.orion.net.id 
Internet Access, Webhosting, Colocation, Games and More. 



----- Original Message -----



From: "blrmaani" < blrmaani at gmail.com > 
To: comp-protocols-dns-bind at isc.org 
Sent: Wednesday, March 2, 2016 2:13:29 PM 
Subject: what does "max-ncache-ttl 0;" mean? 





man pages for named.conf says "max-ncache-ttl <integer>" and only talks about default values and max values - no mention of minimum-value. 





Does "max-ncache-ttl 0;" mean never cache negative queries (queries resulting in NXDOMAIN) or does it mean cache negative queries forever? 





Too lazy to test this option or look bind code :), hence posting here - apologies in advance..!! 





Blr 
_______________________________________________ 
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list 





bind-users mailing list 
bind-users at lists.isc.org 
https://lists.isc.org/mailman/listinfo/bind-users 




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20160302/141fe9d0/attachment.html>


More information about the bind-users mailing list