Lines Matching refs:qDNSServer
167 DNSServer *orig = q->qDNSServer; in PenalizeDNSServer()
177 if (!q->qDNSServer) in PenalizeDNSServer()
184 …&q->qDNSServer->addr, mDNSVal16(q->qDNSServer->port), q->qDNSServer->domain.c, q, q->qname.c, DNST… in PenalizeDNSServer()
207 q->qDNSServer->penaltyTime = NonZeroTime(m->timenow + DNSSERVER_PENALTY_TIME); in PenalizeDNSServer()
236 …q->qname.c, DNSTypeName(q->qtype), &q->qDNSServer->addr, mDNSVal16(q->qDNSServer->port), q->qDNSSe… in PenalizeDNSServer()
3481 if (q->qDNSServer == s && !NoTestQuery(q)) in uDNS_ReceiveTestQuestionResponse()
4190 DNSServer *orig = q->qDNSServer; in uDNS_CheckCurrentQuestion()
4211 if (!q->qDNSServer && q->noServerResponse) in uDNS_CheckCurrentQuestion()
4227 …DuplicateOf == q) { qptr->validDNSServers = q->validDNSServers; qptr->qDNSServer = q->qDNSServer; } in uDNS_CheckCurrentQuestion()
4229 if (q->qDNSServer && q->qDNSServer->teststate != DNSServer_Disabled) in uDNS_CheckCurrentQuestion()
4237 if (q->qDNSServer->teststate != DNSServer_Untested || NoTestQuery(q)) in uDNS_CheckCurrentQuestion()
4242 …else if (m->timenow - q->qDNSServer->lasttest >= INIT_UCAST_POLL_INTERVAL) // Make sure at least t… in uDNS_CheckCurrentQuestion()
4244 … LogInfo("Sending DNS test query to %#a:%d", &q->qDNSServer->addr, mDNSVal16(q->qDNSServer->port)); in uDNS_CheckCurrentQuestion()
4246 q->qDNSServer->lasttest = m->timenow; in uDNS_CheckCurrentQuestion()
4248 q->qDNSServer->testid = m->omsg.h.id; in uDNS_CheckCurrentQuestion()
4251 if (end > m->omsg.data && (q->qDNSServer->teststate != DNSServer_Failed || NoTestQuery(q))) in uDNS_CheckCurrentQuestion()
4264 …q->qDNSServer ? &q->qDNSServer->addr : mDNSNULL, mDNSVal16(q->qDNSServer ? q->qDNSServer->port : z… in uDNS_CheckCurrentQuestion()
4267 …DNSSendDNSMessage(m, &m->omsg, end, q->qDNSServer->interface, q->LocalSocket, &q->qDNSServer->addr… in uDNS_CheckCurrentQuestion()
4311 if (!q->qDNSServer) in uDNS_CheckCurrentQuestion()
4337 q->qDNSServer = GetServerForQuestion(m, q); in uDNS_CheckCurrentQuestion()
4339 …DuplicateOf == q) { qptr->validDNSServers = q->validDNSServers; qptr->qDNSServer = q->qDNSServer; } in uDNS_CheckCurrentQuestion()
4342 …q->qDNSServer ? &q->qDNSServer->addr : mDNSNULL, mDNSVal16(q->qDNSServer ? q->qDNSServer->port : z… in uDNS_CheckCurrentQuestion()
4348 …ntQuestion DNS server %#a:%d for %##s is disabled", &q->qDNSServer->addr, mDNSVal16(q->qDNSServer-… in uDNS_CheckCurrentQuestion()
4354 …h, q->qtype, q->qclass, (WABQuestion(&q->qname) ? 60 * 15 : 60), mDNSInterface_Any, q->qDNSServer); in uDNS_CheckCurrentQuestion()