Configure DNS cache expiration values in forwarders

I was having some trouble with the DNS at UCS. Somentimes the DNS that I use as the forwarder don’t resolve a domain, and the DNS server at UCS is caching that response, making the machines that use the DNS server unable to access that domain.

I was looking to modify the values max-cache-ttl and max-ncache-ttl in the BIND config files, but this files are modified by the Univention Configuration Registry (UCR), so it seems that any configuration that I do in the files can be overwriten by the UCR if any change is applied.

Also, it didn’t seem to exist any way in UCR to edit this values. My UCS version is 5.2-3.

Is there any way to archive this?
Any help is appreciatded

Basicly this should work with ucr:
https://docs.software-univention.de/manual/5.2/en/computers/ucr.html

Show us the section that needs to be changed and which configuration file it is.

I need to change the file /etc/bind/named.conf.proxy, and add in options {} max-cache-ttl and max-ncache-ttl.

I reviewed the documentation that you shared and I understand that I can modify the template ( /etc/univention/templates/files/etc/bind/named.conf.proxy ) and regenerate the file using univention-config-registry commit /etc/bind/named.conf.proxy.