bind-formula
bind-formula copied to clipboard
Impossible to set TTL on individual records
It seems impossible with this bind formula to set a TTL on individual records that differs from the TTL set in the soa data structure.
$TTL 1w ; default for the rest of the zone.
foo IN A 192.168.254.3 ; uses default of 1w
$TTL 2d ; default for the rest of the zone.
joe 3h IN A 192.168.254.3 ; overrides default
www IN A 192.168.254.3 ; uses default = 2 days
Changing the default for the rest of the zone may nog be very practical with the current set up that sorts the entries on record type and alphabetically, but the override per record should be possible?
Late to needing this but it isn't impossible, you can do this:
records:
'30m A':
example: 1.1.1.1
Which will set the TTL for example to 30 minutes. I agree it would be nice to have a better solution for this