Lines Matching defs:server
707 // 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.
708 // If we do our normal refresh at 80% of the TTL, our local caching server will return 20 seconds, so we'll do another
709 // 80% refresh after 16 seconds, and then the server will return 4 seconds, and so on, in the fashion of Zeno's paradox.
712 // the cached copy at our local caching server will already have expired, so the server will be forced
713 // to fetch a fresh copy from the authoritative server, and then return a fresh record with the full TTL of 3600 seconds.
1038 // The records might already be registered with the server and hence could have NAT state.
1663 // from the server. In that case, if the records have been part of a group update, clear the
2836 // For Unicast, when we get the response from the server, we will call CompleteDeregistration
3850 // Reset unansweredQueries so that we don't penalize this server later when we
4373 // then 95-97% of the TTL. If the DNS server does not respond, then we will remove the cache entry
4374 // before we pick a new DNS server. As the question interval is set to MaxQuestionInterval, we may
5575 // Disallow sleep if there is no sleep proxy server
5580 mDNS_snprintf(reason, sizeof(reason), "No sleep proxy server on %s", intf->ifname);
5581 LogInfo("mDNS_UpdateAllowSleep: Sleep disabled because %s has no sleep proxy server", intf->ifname);
5591 mDNS_snprintf(reason, sizeof(reason), "No sleep proxy server with better metric on %s", intf->ifname);
5592 LogInfo("mDNS_UpdateAllowSleep: Sleep disabled because %s has no sleep proxy server with a better metric", intf->ifname);
5783 // In the case of sleep proxy server transfering its records when it goes to sleep, the owner
5956 // ack from the sleep proxy server, we clear the interface bit. This way, we know when a record completes
6133 // sleep proxy server, we do this in SPSInitRecordsBeforeUpdate when we
6282 // Note: If we are not NetWake capable, we don't browse for the sleep proxy server.
6532 // Note: If there is a network/DNS server change that already happened and
6653 // Scan list of private LLQs, and make sure they've all completed their handshake with the server
7761 // DNS server or a response to the QU query. Hence, the cache record's InterfaceId can be both NULL or non-NULL (QU case)
8058 // This gives the server up to three seconds to respond between when we send our 80% query at 12 seconds
8060 // (with the current code) result in the server having even less than three seconds to respond
8253 // (since the Microsoft Active Directory server is going to assert that pretty much every single multicast name doesn't exist).
8257 // *not* on a Microsoft Active Directory network, and there is no authoritative server for "local". Note that this is not
8259 // negative answers for "local. SOA" from a uDNS server, because the mDNS spec already says that such records do not exist :-)
8346 // and the server returns no SOA record (or an SOA record with a small MIN TTL) so we assume a TTL
8347 // of 60 seconds, and we end up polling the server every minute for a record that doesn't exist.
8349 // so that we back off our polling rate and don't keep hitting the server continually.
8614 // Subsequently, if we reissue questions from within the mDNSResponder e.g., DNS server
8868 // If we recv any error from the DNSServer for a DNSSEC Query and if we know that the server
8897 // generate negative cache entries (we want to query the next server)
9007 // Initialize the DNS server on the resource record which will now filter what questions we answer with
9010 // We could potentially lookup the DNS server based on the source address, but that may not work always
9012 // from the DNS server that queried. We follow the same logic here. If we can find a matching quetion based
9014 // came from the same DNS server that we sent the query to.
9366 // We also don't log this for uDNS responses, since a caching name server is obliged
10346 // and we have a key for company.com, so we try to locate the private query server for company.com, which necessarily entails
10469 question->state = 0; // Must zero question->state, or mDNS_StopQuery_internal will clean up and cancel our LLQ from the server
10520 mDNSinline mDNSs32 PenaltyTimeForServer(mDNS *m, DNSServer *server)
10523 if (server->penaltyTime != 0)
10525 ptime = server->penaltyTime - m->timenow;
10531 LogMsg("PenaltyTimeForServer: PenaltyTime negative %d, (server penaltyTime %d, timenow %d) resetting the penalty",
10532 ptime, server->penaltyTime, m->timenow);
10533 server->penaltyTime = 0;
10548 // If the name contains fewer labels than the new server's domain or the new name
10701 debugf("SetValidDNSServers: Parsing DNS server Address %#a (Domain %##s), Scope: %d", &curr->addr, curr->domain.c, curr->scoped);
10705 debugf("SetValidDNSServers: Delete set for index %d, DNS server %#a (Domain %##s), scoped %d", index, &curr->addr, curr->domain.c, curr->scoped);
10719 debugf("SetValidDNSServers: Scoped DNS server %#a (Domain %##s) with Interface Any", &curr->addr, curr->domain.c);
10741 debugf("SetValidDNSServers: question %##s Setting the bit for DNS server Address %#a (Domain %##s), Scoped:%d index %d,"
10761 // Get the Best server that matches a name. If you find penalized servers, look for the one
10781 debugf("GetBestServer: Delete set for index %d, DNS server %#a (Domain %##s), scoped %d", index, &curr->addr, curr->domain.c, curr->scoped);
10802 // "currPenaltyTime < bestPenaltyTime" check lets us either pick the first best server
10849 // By passing in all ones, we make sure that every DNS server is considered
10855 LogInfo("GetServerForName: DNS server %#a:%d (Penalty Time Left %d) (Scope %s:%p) found for name %##s", &curmatch->addr,
10859 LogInfo("GetServerForName: no DNS server (Scope %s:%p) found for name %##s", ifname ? ifname : "None", InterfaceID, name);
10888 LogInfo("GetServerForQuestion: %p DNS server (%p) %#a:%d (Penalty Time Left %d) (Scope %s:%p:%d) found for name %##s (%s)",
10895 LogInfo("GetServerForQuestion: %p no DNS server (Scope %s:%p:%d) found for name %##s (%s)",
10960 LogInfo("ShouldSuppressUnicastQuery: Query suppressed for %##s, qtype %s, as the DNS server is NULL", q->qname.c, DNSTypeName(q->qtype));
11596 // DNS server selection affects DNSSEC. Turn off validation if req_DO is not set
11640 // DNS server on the question
11704 // InitDNSSECProxyState should be called after the DNS server is selected (in
11705 // InitCommonState -> InitDNSConfig) as DNS server selection affects DNSSEC
11883 // If necessary, tell server it can delete this LLQ state
12547 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
12734 // Zero out the updateid so that if we have a pending response from the server, it won't
14418 debugf("PurgeOrReconfirmCacheRecord: %s cache record due to %s server %p %#a:%d (%##s): %s",
14685 // Changing the DNS server affected the SuppressQuery status. We need to
14727 debugf("uDNS_SetupDNSConfig: Not Updating DNS server question %p %##s (%s) DNS server %#a:%d %p %d",
14742 // We already walked the questions and restarted/reactivated them if the dns server
14744 // what if there is no active question at this point when the DNS server change
14746 // them, a new question after the DNS server change could pick up these stale
14752 // active question's InterfaceID/ServiceID for looking up the right DNS server.
14763 // Purge or Reconfirm if this cache entry would use the new DNS server
14769 // purge the cache as the DNSSEC capabilities of the DNS server may have changed.
14773 LogInfo("uDNS_SetupDNSConfig: Purging Resourcerecord %s, New DNS server %#a , Old DNS server %#a", CRDisplayString(m, cr),
14779 LogInfo("uDNS_SetupDNSConfig: Purging/Reconfirming Resourcerecord %s, New DNS server %#a, Old DNS server %#a", CRDisplayString(m, cr),
14790 // Scan our cache, looking for uDNS records that we would have queried this server for.
14806 // new server or NULL if there is no server.
14839 LogInfo("uDNS_SetupDNSConfig: Deleting server %p %#a:%d (%##s) %d", ptr, &ptr->addr, mDNSVal16(ptr->port), ptr->domain.c, NumUnicastDNSServers);
14865 m->DNSServers ? "DNS server became" : "No DNS servers", count);
15015 // Consequently, determining certain information, e.g. the uDNS update server's IP