TAI64 timestamps for tinydns
Records in tinydns-data format can have a timestamp that is used to expire or activate the record at a certain time. Here is a simple command that can be used to generate timestamps for use with tinydns records.
printf 4%015x\\n "$((10+$(date -d "2008-10-15 02:00" +%s)))"
Just change the date in the example to suit your needs.
This thread from the djbdns mailing list archive explains more about it.
Write a comment