Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impossible to set TTL on individual records #123

Open
morgana2313 opened this issue Jan 2, 2019 · 1 comment
Open

Impossible to set TTL on individual records #123

morgana2313 opened this issue Jan 2, 2019 · 1 comment

Comments

@morgana2313
Copy link

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?

@braunsonm
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants