1.6.8
* Fix ldns zone, so that $TTL definition match RFC 2308.
- * Drill: Print both SHA-1 and SHA-256 corresponding DS records.
* Fix lots of missing checks on allocation failures and parse of
NSEC with many types and max parse length in hosts_frm_fp routine
and off by one in read_anchor_file routine (thanks Dan Kaminsky and
Justin Ferguson).
+ * Drill: Print both SHA-1 and SHA-256 corresponding DS records.
+ * Print correct WHEN in query packet (is not always 1-1-1970)
1.6.7 2010-11-08
* EXPERIMENTAL ecdsa implementation, please do not enable on real
const ldns_rdf *name, ldns_rr_type t,
ldns_rr_class c, uint16_t flags)
{
+ struct timeval now;
+
/* prepare a question pkt from the parameters
* and then send this */
*query_pkt = ldns_pkt_query_new(ldns_rdf_clone(name), t, c, flags);
ldns_pkt_set_edns_udp_size(*query_pkt, ldns_resolver_edns_udp_size(r));
}
+ /* set the timestamp */
+ now.tv_sec = time(NULL);
+ now.tv_usec = 0;
+ ldns_pkt_set_timestamp(*query_pkt, now);
+
+
if (ldns_resolver_debug(r)) {
ldns_pkt_print(stdout, *query_pkt);
}