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

John W. Blue john.blue at rrcic.com
Wed Mar 2 07:27:49 UTC 2016


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<http://www.zytrax.com/books/dns/ch7/hkpng.html#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<http://www.zytrax.com/books/dns/ch7/view.html> or a global options<http://www.zytrax.com/books/dns/ch7/options.html> 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.

________________________________
From: "blrmaani" <blrmaani at gmail.com<mailto:blrmaani at gmail.com>>
To: comp-protocols-dns-bind at isc.org<mailto: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<mailto: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/c969a12a/attachment-0001.html>


More information about the bind-users mailing list