PiHole 6: setting "min-cache-ttl" still possible?

Hello everyone,

Is it still possible to set a custom "min-cache-ttl" in, for example, /etc/dnsmasq.d/yourname.conf using Pi-hole 6? At the beginning of this beta, this entry was ignored and flagged as an issue.

The "dns.cache.optimizer" setting does not meet my needs for modifying the TTL.

Thank you for your help!

Yes. Additional files in /etc/dnsmasq.d are not included by default to avoid such conflicts like you have seen.

You can either set misc.etc_dnsmasq_d = true to restore including this directory or use, e.g., misc.dnsmasq_lines = [ "min-cache-ttl=123" ] which allows you to directly add arbitrary custom lines without having to create a file manually.

Thank you DL6ER! This was very helpful.