News for hackers. Stuff that matters.
Re:Problems with low DNS TTLs by aequitas on Monday March 29, 2021 @10:32AM (#26622199)
It could help to lower your TTL way before you plan to update. If your current TTL was 24h, you just update it to 5m 24 hours before you plan the actual change of the record itself. The new record can them be set to 24h directly (unless you want a quick turnaround for rollback).

It's still no guarantee all changes will propagate within 5 minutes. But it gives some ease of mind to know the bulk of change won't take a day.

Also a lot of people forget the negative caching of NXDOMAIN records which is set by the TTL of the SOA record. Which means that it will take a while for your new record to be resolved if you started querying before you set the record.

Re:Problems with low DNS TTLs by EricE on Monday March 29, 2021 @01:44PM (#26625496)
Yes - it’s called planning. Lowering TTL well in advanced is not a new concept and works very well if you have enough advanced notice from the application owners ahead of time :p
Re:Problems with low DNS TTLs by toast0 on Monday March 29, 2021 @06:51PM (#26629310)
Unfortunately, data centers rarely give 24 hour notice about catastrophic fires or provide advance notice about utility outages when the automatic transfer switch is going to fail.
Re:Problems with low DNS TTLs by mschuster91 on Monday March 29, 2021 @10:33AM (#26622215)
> It's still no guarantee all changes will propagate within 5 minutes. But it gives some ease of mind to know the bulk of change won't take a day.

Especially it gives you peace of mind that should stuff go badly wrong you can easily revert the change.