Lines Matching defs:server

715 // Suppose real record has TTL of 3600, and our local caching server has held it for 3500 seconds, so it returns an aged TTL of 100.
716 // If we do our normal refresh at 80% of the TTL, our local caching server will return 20 seconds, so we'll do another
717 // 80% refresh after 16 seconds, and then the server will return 4 seconds, and so on, in the fashion of Zeno's paradox.
720 // the cached copy at our local caching server will already have expired, so the server will be forced
721 // to fetch a fresh copy from the authoritative server, and then return a fresh record with the full TTL of 3600 seconds.
1046 // The records might already be registered with the server and hence could have NAT state.
1709 // from the server. In that case, if the records have been part of a group update, clear the
2882 // For Unicast, when we get the response from the server, we will call CompleteDeregistration
3893 // Reset unansweredQueries so that we don't penalize this server later when we
4442 // then 95-97% of the TTL. If the DNS server does not respond, then we will remove the cache entry
4443 // before we pick a new DNS server. As the question interval is set to MaxQuestionInterval, we may
5651 // Disallow sleep if there is no sleep proxy server
5656 mDNS_snprintf(reason, sizeof(reason), "No sleep proxy server on %s", intf->ifname);
5657 LogInfo("mDNS_UpdateAllowSleep: Sleep disabled because %s has no sleep proxy server", intf->ifname);
5667 mDNS_snprintf(reason, sizeof(reason), "No sleep proxy server with better metric on %s", intf->ifname);
5668 LogInfo("mDNS_UpdateAllowSleep: Sleep disabled because %s has no sleep proxy server with a better metric", intf->ifname);
5866 // In the case of sleep proxy server transfering its records when it goes to sleep, the owner
6039 // ack from the sleep proxy server, we clear the interface bit. This way, we know when a record completes
6242 // sleep proxy server, we do this in SPSInitRecordsBeforeUpdate when we
6386 // Note: If we are not NetWake capable, we don't browse for the sleep proxy server.
6635 // Note: If there is a network/DNS server change that already happened and
6756 // Scan list of private LLQs, and make sure they've all completed their handshake with the server
7864 // DNS server or a response to the QU query. Hence, the cache record's InterfaceId can be both NULL or non-NULL (QU case)
8056 // This gives the server up to three seconds to respond between when we send our 80% query at 12 seconds
8058 // (with the current code) result in the server having even less than three seconds to respond
8251 // (since the Microsoft Active Directory server is going to assert that pretty much every single multicast name doesn't exist).
8255 // *not* on a Microsoft Active Directory network, and there is no authoritative server for "local". Note that this is not
8257 // negative answers for "local. SOA" from a uDNS server, because the mDNS spec already says that such records do not exist :-)
8344 // and the server returns no SOA record (or an SOA record with a small MIN TTL) so we assume a TTL
8345 // of 60 seconds, and we end up polling the server every minute for a record that doesn't exist.
8347 // so that we back off our polling rate and don't keep hitting the server continually.
8613 // Subsequently, if we reissue questions from within the mDNSResponder e.g., DNS server
8847 // If we recv any error from the DNSServer for a DNSSEC Query and if we know that the server
8876 // generate negative cache entries (we want to query the next server)
8984 // Initialize the DNS server on the resource record which will now filter what questions we answer with
8987 // We could potentially lookup the DNS server based on the source address, but that may not work always
8989 // from the DNS server that queried. We follow the same logic here. If we can find a matching quetion based
8991 // came from the same DNS server that we sent the query to.
9330 // We also don't log this for uDNS responses, since a caching name server is obliged
10366 // and we have a key for company.com, so we try to locate the private query server for company.com, which necessarily entails
10489 question->state = 0; // Must zero question->state, or mDNS_StopQuery_internal will clean up and cancel our LLQ from the server
10540 mDNSinline mDNSs32 PenaltyTimeForServer(mDNS *m, DNSServer *server)
10543 if (server->penaltyTime != 0)
10545 ptime = server->penaltyTime - m->timenow;
10551 LogMsg("PenaltyTimeForServer: PenaltyTime negative %d, (server penaltyTime %d, timenow %d) resetting the penalty",
10552 ptime, server->penaltyTime, m->timenow);
10553 server->penaltyTime = 0;
10568 // If the name contains fewer labels than the new server's domain or the new name
10721 debugf("SetValidDNSServers: Parsing DNS server Address %#a (Domain %##s), Scope: %d", &curr->addr, curr->domain.c, curr->scoped);
10725 debugf("SetValidDNSServers: Delete set for index %d, DNS server %#a (Domain %##s), scoped %d", index, &curr->addr, curr->domain.c, curr->scoped);
10740 LogInfo("SetValidDNSServers: ScopeType[%d] Skipping DNS server %#a (Domain %##s) Interface:[%p] Serviceid:[%d]", curr->scoped, &curr->addr, curr->domain.c, curr->interface, curr->serviceID);
10762 debugf("SetValidDNSServers: question %##s Setting the bit for DNS server Address %#a (Domain %##s), Scoped:%d index %d,"
10782 // Get the Best server that matches a name. If you find penalized servers, look for the one
10802 debugf("GetBestServer: Delete set for index %d, DNS server %#a (Domain %##s), scoped %d", index, &curr->addr, curr->domain.c, curr->scoped);
10823 // "currPenaltyTime < bestPenaltyTime" check lets us either pick the first best server
10870 // By passing in all ones, we make sure that every DNS server is considered
10876 LogInfo("GetServerForName: DNS server %#a:%d (Penalty Time Left %d) (Scope %s:%p) found for name %##s", &curmatch->addr,
10880 LogInfo("GetServerForName: no DNS server (Scope %s:%p) found for name %##s", ifname ? ifname : "None", InterfaceID, name);
10909 LogInfo("GetServerForQuestion: %p DNS server (%p) %#a:%d (Penalty Time Left %d) (Scope %s:%p:%d) found for name %##s (%s)",
10916 LogInfo("GetServerForQuestion: %p no DNS server (Scope %s:%p:%d) found for name %##s (%s)",
10981 LogInfo("ShouldSuppressUnicastQuery: Query suppressed for %##s, qtype %s, as the DNS server is NULL", q->qname.c, DNSTypeName(q->qtype));
11621 // DNS server selection affects DNSSEC. Turn off validation if req_DO is not set
11665 // DNS server on the question
11729 // InitDNSSECProxyState should be called after the DNS server is selected (in
11730 // InitCommonState -> InitDNSConfig) as DNS server selection affects DNSSEC
11936 // If necessary, tell server it can delete this LLQ state
12602 set->RR_PTR.ForceMCast = mDNStrue; // This PTR points to our dot-local name, so don't ever try to write it into a uDNS server
12775 // Zero out the updateid so that if we have a pending response from the server, it won't
14478 debugf("PurgeOrReconfirmCacheRecord: %s cache record due to %s server %p %#a:%d (%##s): %s",
14754 // Changing the DNS server affected the SuppressQuery status. We need to
14797 debugf("uDNS_SetupDNSConfig: Not Updating DNS server question %p %##s (%s) DNS server %#a:%d %p %d",
14812 // We already walked the questions and restarted/reactivated them if the dns server
14814 // what if there is no active question at this point when the DNS server change
14816 // them, a new question after the DNS server change could pick up these stale
14822 // active question's InterfaceID/ServiceID for looking up the right DNS server.
14833 // Purge or Reconfirm if this cache entry would use the new DNS server
14839 // purge the cache as the DNSSEC capabilities of the DNS server may have changed.
14843 LogInfo("uDNS_SetupDNSConfig: Purging Resourcerecord %s, New DNS server %#a , Old DNS server %#a", CRDisplayString(m, cr),
14849 LogInfo("uDNS_SetupDNSConfig: Purging/Reconfirming Resourcerecord %s, New DNS server %#a, Old DNS server %#a", CRDisplayString(m, cr),
14860 // Scan our cache, looking for uDNS records that we would have queried this server for.
14876 // new server or NULL if there is no server.
14909 LogInfo("uDNS_SetupDNSConfig: Deleting server %p %#a:%d (%##s) %d", ptr, &ptr->addr, mDNSVal16(ptr->port), ptr->domain.c, NumUnicastDNSServers);
14935 m->DNSServers ? "DNS server became" : "No DNS servers", count);
15082 // Consequently, determining certain information, e.g. the uDNS update server's IP