Override ttl for forwarded domains on a per-zone basis?

Hi all,

I know that unbound honouring the TTL for nxdomain is a feature, but I
would like the option to selectively override that for forwarded
domains. Either on a per-zone basis, or within the forward configuration
something like
nxdomain-ttl: x
would be rather handy for the internal forwarded zones where changes are
rare, but waiting for 1-2 hours after adding new hosts is a bit tiresome.

Or maybe an option to ignore ttl for forwarded zones & set a generic ttl
for zone-specific forwards might be simpler?

forward-zone:
  name: "internal.domain.tld"
  forward-addr: ip1
  forward-addr: ip2
  override-max-ttl: 300
  override-min-ttl: 30

Any thoughts?

Kind regards,

Felix

Hi,

For an internal zone, can't you set more sane TTLs for
the negative in the SOA record of the zone?

Best regards,
   Wouter

W.C.A. Wijngaards wrote:

Hi,

For an internal zone, can't you set more sane TTLs for
the negative in the SOA record of the zone?

you're right, I completely forgot about that. :slight_smile:

kind regards,

Felix