Re: testing record start/end times with tinydns-get?

Clive Eisen <[email protected]> Thu, 22 Jul 2010 09:40:18 +0100
Newsgroups gmane.network.djbdns
Message-ID <[email protected]>
On 21/07/2010 21:49, Charles Cazabon wrote:
> Hi, all,
>
> I need to set up some moderately complex record-switching magic using the
> ttl/timestamp fields of the data file to cause some records to change at a
> particular time.  I've got the datafile changes written and tinydns-data
> compiles them.
>
> But how do I test my magic?  tinydns-data will happily query the cdb file, but
> I don't see how to tell it what time to to use (so it gets the proper records
> and I can test times other than "now") - is this possible?
>
> Thanks,
>
> Charles
http://www.code-wizards.com/projects/libfaketime/

-- 
This message has been scanned for viruses and
dangerous content by OpenProtect(http://www.openprotect.com), and is
believed to be clean.