-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
bump ttl for ns records to 86400 as some registries require this #1892
Conversation
This should not be destructive in any way for other domain policies but I'd love some input to make absolutely sure no policies for other TLDs get infringed |
👍 We'll leave this up for discussion for a bit. The change seems totally reasonable/fine to me. A one-day TTL for a NS record seem about right. |
I feel like 24h is quite high if you ever want to change your nameserver from MIAB to another one. (30.12.2020) Following information is wrong as pointed out by @thomae but left here for the record:
--> Checked with https://mxtoolbox.com/SuperTool.aspx So with out 24h TTL we are definitely on the higher end of TTLs. |
I get different results when querying SuperTool using the syntax dns:example.org:
|
I have not had a problem with the current setting running MIAB the last few years. DNS Lookups are cheap (low bandwith and low resources). I rather like that changes are quick to age out with a low TTL. |
Well that's embarrassing 😀 I just checked again and did not notice that if you enter a new url (without specifying dns: in the beginning), it looks up the a record instead of the ns record. Don't know how I overlooked that yesterday. Thank's for pointing that out :) |
I don't think we need to distinguish by tld, i would simply make it 86400 by default and have a checkbox somewhere to "use low TTL for NS records [advanced - only use this if you know what it means and really need it]". |
Is there ever really going to be a burning need for someone to require to make an unplanned sub 24h ns server change? IMHO document this delay so users know to plan for it, change the TTL and push this. |
@anoma Yeah if no users really claim this as a necessity we could do as you say and - if anything, to avoid cluttering the UI - make a script under |
Thanks for the research everyone. Merging! |
Thanks! |
…istries require this (mail-in-a-box#1892) Co-authored-by: Nicolas North [norðurljósahviða] <[email protected]>
As discussed here, I am the user with the burning need for sub 24h ns changes. I use Miab's custom dns api to forward a subdomain to my home server running Nextcloud, which gets a new IP every 24 hours. |
The original issue was about NS records. You are probably talking about A/AAAA record. The fix probably applied to all records inadvertently. I would accept a PR to make this configurable that way if and only if you also write good documentation for it at https://github.com/mail-in-a-box/mailinabox.email/blob/master/maintenance.html. |
I have now created a pull request that hopefully fixes the problem. However, I don't believe that the maintenance guide is the right place to document this. From my point of view, two scripts in tools (something like |
Fixes #1381