ddavness / power-mailinabox

A Mail-in-a-Box with extra capabilities and more customizability. Not just for power users!
Creative Commons Zero v1.0 Universal
172 stars 32 forks source link

Ability to set custom TTL values for custom DNS records #28

Closed ddavness closed 3 years ago

ddavness commented 3 years ago

Essentially what the title says; right now all records are published with a TTL of 86400 seconds (1 day), which may be inadequate for some folks relying on the box for Dynamic DNS. There are also the advantages inherent to be able to set the TTL per-record.

Users will not be required to set TTL values if they choose not to. Just leave the TTL field empty and the box will set it for you.

ddavness commented 3 years ago

The caveats here are the following:

ddavness commented 3 years ago

The TTL limits will be enforced silently - this is, if the TTL is lower than 30 seconds, it will be bumped to 30 seconds. Likewise, if it is over 30 days, it will be lowered to 30 days.