Lines Matching refs:qinfo_out
171 memset(&iq->qinfo_out, 0, sizeof(struct query_info));
763 memset(&subiq->qinfo_out, 0, sizeof(struct query_info));
2213 /* (Re)set qinfo_out to (new) delegation point, except when
2214 * qinfo_out is already a subdomain of dp. This happens when
2217 if(!(iq->qinfo_out.qname_len
2219 iq->qinfo_out.qname)
2220 && dname_subdomain_c(iq->qinfo_out.qname,
2222 iq->qinfo_out.qname = iq->dp->name;
2223 iq->qinfo_out.qname_len = iq->dp->namelen;
2224 iq->qinfo_out.qtype = LDNS_RR_TYPE_A;
2225 iq->qinfo_out.qclass = iq->qchase.qclass;
2226 iq->qinfo_out.local_alias = NULL;
2235 dname_count_labels(iq->qinfo_out.qname);
2237 qout_orig = iq->qinfo_out.qname;
2238 qout_orig_len = iq->qinfo_out.qname_len;
2239 iq->qinfo_out.qname = iq->qchase.qname;
2240 iq->qinfo_out.qname_len = iq->qchase.qname_len;
2277 dname_remove_labels(&iq->qinfo_out.qname,
2278 &iq->qinfo_out.qname_len,
2288 iq->qinfo_out.qname, iq->qinfo_out.qname_len,
2289 iq->qinfo_out.qtype, iq->qinfo_out.qclass,
2308 iq->qinfo_out.qname,
2309 iq->qinfo_out.qname_len,
2310 iq->qinfo_out.qtype,
2311 iq->qinfo_out.qclass,
2340 iq->qinfo_out = iq->qchase;
2348 iq->dp->name, iq->dp->namelen, iq->qinfo_out.qclass)) {
2358 } else if(auth_zones_lookup(qstate->env->auth_zones, &iq->qinfo_out,
2426 iq->qinfo_out.qname = qout_orig;
2427 iq->qinfo_out.qname_len = qout_orig_len;
2568 iq->qinfo_out.qname = qout_orig;
2569 iq->qinfo_out.qname_len = qout_orig_len;
2592 log_query_info(VERB_QUERY, "sending query:", &iq->qinfo_out);
2600 outq = (*qstate->env->send_query)(&iq->qinfo_out,
2607 &iq->qinfo_out)||target->attempts==1)?0:BIT_CD),
2682 iq->response, &iq->qinfo_out, iq->dp);
2754 query_dname_compare(iq->qchase.qname, iq->qinfo_out.qname) == 0) {
3762 if(!scrub_message(pkt, prs, &iq->qinfo_out, iq->dp->name,