3 ms·
One cool thing about DJBs tinydns is that you can configure TTLs if you plan to roll over to another system at a particular point in time. I.e. you can have mul
by Tepix 4y ago
One cool thing about DJBs tinydns is that you can configure TTLs if you plan to roll over to another system at a particular point in time.
I.e. you can have multiple records each with its own time range where it is valid.
From the tinydns-data documentation:
--
You may include a timestamp on each line. If ttl is nonzero (or omitted), the timestamp is a starting time for the information in the line; the line will be ignored before that time. If ttl is zero, the timestamp is an ending time (``time to die'') for the information in the line; tinydns dynamically adjusts ttl so that the line's DNS records are not cached for more than a few seconds past the ending time. A timestamp is an external TAI64 timestamp, printed as 16 lowercase hexadecimal characters. For example, the lines
+www.heaven.af.mil:1.2.3.4:0:4000000038af1379
+www.heaven.af.mil:1.2.3.7::4000000038af1379
specify that www.heaven.af.mil will have address 1.2.3.4 until time 4000000038af1379 (2000-02-19 22:04:31 UTC) and will then switch to IP address 1.2.3.7.
--
Do other authorative resolvers support this, too?
- vinay_ys 4y agoYeah, this works if it is a planned cutover. If you are having to ditch your current IP network in a hurry, then this approach won't work.