• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/mDNSResponder-561.1.1/mDNSCore/

Lines Matching refs:question

34 // for duplicates, before creating DNSProxyClient state and starting a question with the "core"
35 // (mDNS_StartQuery). When the callback for the question happens, it gathers all the necessary
246 // the question
255 // If this is the first time, initialize the header and the question.
275 LogInfo("AddResourceRecords: Answering question with %s", CRDisplayString(m, cr));
298 // If we are using CNAME to answer a question and CNAME is not the type we
309 // Along with the nsec records, we also cache the SOA record. For non-DNSSEC question, we need
310 // to send the SOA back. Normally we either cache the SOA record (non-DNSSEC question) pointed
311 // to by "cr->soa" or the NSEC/SOA records along with their RRSIGs (DNSSEC question) pointed to
314 // - if we issue a DNSSEC question followed by non-DNSSEC question for the same name,
318 // - if we issue a non-DNSSEC question followed by DNSSEC question for the same name,
319 // the "core" flushes the cache entry and re-issue the question with EDNS0/DOK bit and
325 LogInfo("AddResourceRecords:NSEC Answering question with %s", CRDisplayString(m, nsec));
338 LogInfo("AddResourceRecords: SOA Answering question with %s", CRDisplayString(m, soa));
375 mDNSlocal void ProxyClientCallback(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord)
377 DNSProxyClient *pc = question->QuestionContext;
391 if (question->ValidationRequired)
398 if (((now - question->StopTime) < 0) && AddRecord != QC_dnssec)
400 LogInfo("ProxyClientCallback: No DNSSEC answer yet for Question %##s (%s), AddRecord %d, answer %s", question->qname.c,
401 DNSTypeName(question->qtype), AddRecord, RRDisplayString(m, answer));
408 if (answer->rrtype != question->qtype)
454 if (question->ValidationRequired)
456 if (question->ValidationState == DNSSECValDone && question->ValidationStatus == DNSSEC_Secure)
458 LogInfo("ProxyClientCallback: Setting AD bit for Question %##s (%s)", question->qname.c, DNSTypeName(question->qtype));
469 question->qname.c, DNSTypeName(question->qtype));
485 mDNS_StopQuery(m, question);
491 LogMsg("ProxyClientCallback: question %##s (%s) not found", question->qname.c, DNSTypeName(question->qtype));
507 // RFC 1035 requires that we copy the question back and RFC 2136 is okay with sending nothing
509 // in the question back to the responder. We return as much as we can fit in our standard
532 const DNSQuestion *const question)
543 pc->q.qtype == question->qtype &&
544 pc->q.qclass == question->qclass &&
545 SameDomainName(&pc->qname, &question->qname))