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

blrmaani blrmaani at gmail.com
Wed Mar 2 12:32:07 UTC 2016


On Tuesday, March 1, 2016 at 11:34:09 PM UTC-8, A. Renald Niswady wrote:
> hehehe,
> 
> 
> http://www.zytrax.com/books/dns/ch7/hkpng.html#max-ncache-ttl
> 
> 
> i found zytrax site is really helpful
> 
> 
> 
> 
> 
> 
> Regards
> -Renald-
> 
> From: "John W. Blue" <john... at rrcic.com>
> To: "A. Renald Niswady" <rena... at orion.net.id>, "blrmaani" <blrm... at gmail.com>
> Cc: comp-protoc... 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-user... at lists.isc.org [mailto:bind-user... at lists.isc.org]
> On Behalf Of A. Renald Niswady
> 
> Sent: Wednesday, March 02, 2016 1:23 AM
> 
> To: blrmaani
> 
> Cc: comp-protoc... 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.
> 
> 
>  
> 
> 
> 
> 
> 
> 
> 
> 
> From:
> "blrmaani" <blrm... at gmail.com>
> 
> To: comp-protoc... 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-... at lists.isc.org
> 
> https://lists.isc.org/mailman/listinfo/bind-users
> 
> 
> 
> 
> 
>  

No definite answer anywhere when value is set to 0


More information about the bind-users mailing list