Lines Matching refs:question

36 // for duplicates, before creating DNSProxyClient state and starting a question with the "core"
37 // (mDNS_StartQuery). When the callback for the question happens, it gathers all the necessary
243 // the question
252 // If this is the first time, initialize the header and the question.
272 LogInfo("AddResourceRecords: Answering question with %s", CRDisplayString(m, cr));
295 // If we are using CNAME to answer a question and CNAME is not the type we
306 // Along with the nsec records, we also cache the SOA record. For non-DNSSEC question, we need
307 // to send the SOA back. Normally we either cache the SOA record (non-DNSSEC question) pointed
308 // to by "cr->soa" or the NSEC/SOA records along with their RRSIGs (DNSSEC question) pointed to
311 // - if we issue a DNSSEC question followed by non-DNSSEC question for the same name,
315 // - if we issue a non-DNSSEC question followed by DNSSEC question for the same name,
316 // the "core" flushes the cache entry and re-issue the question with EDNS0/DOK bit and
322 LogInfo("AddResourceRecords:NSEC Answering question with %s", CRDisplayString(m, nsec));
335 LogInfo("AddResourceRecords: SOA Answering question with %s", CRDisplayString(m, soa));
372 mDNSlocal void ProxyClientCallback(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord)
374 DNSProxyClient *pc = question->QuestionContext;
388 if (question->ValidationRequired)
395 if (((now - question->StopTime) < 0) && AddRecord != QC_dnssec)
397 LogInfo("ProxyClientCallback: No DNSSEC answer yet for Question %##s (%s), AddRecord %d, answer %s", question->qname.c,
398 DNSTypeName(question->qtype), AddRecord, RRDisplayString(m, answer));
405 if (answer->rrtype != question->qtype)
451 if (question->ValidationRequired)
453 if (question->ValidationState == DNSSECValDone && question->ValidationStatus == DNSSEC_Secure)
455 LogInfo("ProxyClientCallback: Setting AD bit for Question %##s (%s)", question->qname.c, DNSTypeName(question->qtype));
466 question->qname.c, DNSTypeName(question->qtype));
484 mDNS_StopQuery(m, question);
490 LogMsg("ProxyClientCallback: question %##s (%s) not found", question->qname.c, DNSTypeName(question->qtype));
504 // RFC 1035 requires that we copy the question back and RFC 2136 is okay with sending nothing
506 // in the question back to the responder. We return as much as we can fit in our standard
530 const DNSQuestion *const question)
539 pc->q.qtype == question->qtype &&
540 pc->q.qclass == question->qclass &&
541 SameDomainName(&pc->qname, &question->qname))