}
/* request done */
if(s == module_error) {
- qstate_free(worker, qstate);
replyerror(LDNS_RCODE_SERVFAIL, w);
+ qstate_free(worker, qstate);
return;
}
if(s == module_finished) {
- iterator forwarder feature separated out.
- iterator hints stub code, config file stub code, so that first
testing can proceed locally.
+ - replay tests now have config option to enable forwarding mode.
23 May 2007: Wouter
- outside network does precise timers for roundtrip estimates for rtt
* for this qname/qclass, determine if this combination indicates that a
* stub hint exists and must be primed.
*
- * @param qname The qname that generated the delegation point.
- * @param qclass The qclass that generated the delegation point.
- * @param dp The cache generated delegation point.
- * @return A priming delegation point if there is a stub hint that must
+ * @param hints: hint storage.
+ * @param qname: The qname that generated the delegation point.
+ * @param qclass: The qclass that generated the delegation point.
+ * @param dp: The cache generated delegation point.
+ * @return: A priming delegation point if there is a stub hint that must
* be primed, otherwise null.
*/
struct delegpt* hints_lookup_stub(struct iter_hints* hints,
qstate->ext_state[id] = module_error;
return;
}
- log_err("bad event for iterator");
+ log_err("bad event for iterator[forwarding]");
qstate->ext_state[id] = module_error;
}
perform_forward(qstate, event, id, outbound);
return;
}
+ log_err("bad event for iterator");
+ qstate->ext_state[id] = module_error;
}
/** iterator cleanup query state */
; This is a comment.
; config options go here.
+server: forward-to: "127.0.0.1"
CONFIG_END
SCENARIO_BEGIN Sample of a valid query
; This is a comment.
; config options go here.
+server: forward-to: "127.0.0.1"
CONFIG_END
SCENARIO_BEGIN Query receives answer from the cache
; config options go here.
+server: forward-to: "127.0.0.1"
CONFIG_END
SCENARIO_BEGIN Forwarder and an error happens on server query.
STEP 1 QUERY
server:
msg-cache-size: 1 # one whole byte!
msg-cache-slabs: 1
+ forward-to: "127.0.0.1"
CONFIG_END
SCENARIO_BEGIN Old answer is dropped from the cache
; here config file options:
server:
msg-cache-size: 1024
+ forward-to: "127.0.0.1"
CONFIG_END
SCENARIO_BEGIN Query receives answer not from the cache
; config options go here.
+server: forward-to: "127.0.0.1"
CONFIG_END
SCENARIO_BEGIN Forwarder and a timeout happens on server query.
STEP 1 QUERY
; config options go here.
server:
num-queries-per-thread: 1
+ forward-to: "127.0.0.1"
CONFIG_END
SCENARIO_BEGIN Sample of a valid query
; This is a comment.
; config options go here.
+server: forward-to: "127.0.0.1"
CONFIG_END
SCENARIO_BEGIN RRset TTL is updated from message.
; This is a comment.
; config options go here.
+server: forward-to: "127.0.0.1"
CONFIG_END
SCENARIO_BEGIN Untrusted rrset not used for update
; This is a comment.
; config options go here.
+server: forward-to: "127.0.0.1"
CONFIG_END
SCENARIO_BEGIN RRset is updated from other message that passes by.