3 ms·
> BIND9 […] supports human-readable time sufffixes such as "m" for minutes, "h" for hours, and "d" for days. In fact, the full supported list of suffixes – fro
by teddyh 6y ago
> BIND9 […] supports human-readable time sufffixes such as "m" for minutes, "h" for hours, and "d" for days.
In fact, the full supported list of suffixes – from the BIND 9 source code, https://gitlab.isc.org/isc-projects/bind9/-/blob/main/lib/dns/ttl.c#LC147 https://gitlab.isc.org/isc-projects/bind9/-/blob/main/lib/dn... – is:
• w = weeks
• d = days
• h = hours
• m = minutes
• s = seconds (optional)
Note also that the BIND code supports any number of stacked suffixes: “2D15M” means 2 days plus 15 minutes.