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

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

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. 

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

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 

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

More information about the bind-users mailing list