Home | History | Annotate | Download | only in mDNSCore

Lines Matching refs:srv

1402 		return(&rr->resrec.rdata->u.srv.target);
1510 debugf("GetZoneData GOT SRV %s", RRDisplayString(m, answer));
1516 // <rdar://problem/5687667> BTMM: Don't fallback to unencrypted operations when SRV lookup fails
1520 zd->ZonePrivate = mDNSfalse; // Causes ZoneDataSRV() to yield a different SRV name when building the query
1528 AssignDomainName(&zd->Host, &answer->rdata->u.srv.target);
1529 zd->Port = answer->rdata->u.srv.port;
1628 LogInfo("StartGetZoneData: Bypassing SOA, SRV query for %##s", AuthInfo->domain.c);
1629 // We bypass SOA and SRV queries if we know the hostname and port already from the configuration.
1647 if (AuthInfo && AuthInfo->AutoTunnel) LogInfo("StartGetZoneData: Not Bypassing SOA, SRV query for %##s", AuthInfo->domain.c);
1666 // the _dns-query-tls SRV record for the zone, and we can't do *that* privately because to do so
1667 // we'd need to already know the _dns-query-tls SRV record.
1693 if (reg && rr->state == regState_NoTarget) { LogMsg("UpdateAllServiceRecords:ERROR!! SRV record %s in noTarget state during registration", ARDisplayString(m, rr)); return; }
1706 LogMsg("UpdateAllServiceRecords: ERROR!! Resource record %s wrong, expecting SRV type", ARDisplayString(m, srvRR));
1724 // TXT and PTR get registered before SRV records because of the delay in
1741 // Currently only supports SRV records for nat mapping
1797 // have put the SRV record in NoTarget state above and deregistered all the other records. When this
1806 // SRVChanged is set when when the target of the SRV record changes (See UpdateOneSRVRecord).
1807 // As a result of the target change, we might register just that SRV Record if it was
1808 // previously registered and we have a new target OR deregister SRV (and the associated
1831 // process where TXT and PTR gets registered followed by the SRV record after it gets
1857 //LogMsg("StartRecordNatMap: clientContext %p IntPort %d srv.port %d %s",
1858 // rr->NATinfo.clientContext, mDNSVal16(rr->NATinfo.IntPort), mDNSVal16(rr->resrec.rdata->u.srv.port), ARDisplayString(m, rr));
1863 // BuildUpdateMessage overwrites srs->RR_SRV.resrec.rdata->u.srv.port with external (mapped) port number
1864 rr->NATinfo.IntPort = rr->resrec.rdata->u.srv.port;
1865 rr->NATinfo.RequestedPort = rr->resrec.rdata->u.srv.port;
1905 if (rr->resrec.rrtype == kDNSType_SRV) rr->resrec.rdata->u.srv.port = rr->NATinfo.IntPort;
1937 domainname *curtarget = &rr->resrec.rdata->u.srv.target;
1948 mDNSIPPort port = rr->resrec.rdata->u.srv.port;
1982 // In these states, the SRV has either not yet been registered (it will get up-to-date information when it is)
1988 // We are getting a Target change/NAT change while the SRV record is being updated ?
2035 LogInfo("UpdateOneSRVRecord: SRV record changed for service %##s, registering with new target %##s",
2041 LogInfo("UpdateOneSRVRecord: SRV record changed for service %##s de-registering", rr->resrec.name->c);
2226 // if we're in the process of registering a dynamic hostname, delay SRV update so we don't have to reregister services if the dynamic name succeeds
2586 rr->resrec.rdata->u.srv.port = rr->NATinfo.ExternalPort;
2825 // For SRV, TXT, AAAA etc. that are Unique/Verified, we also send a Deletion Record
2928 // For TXT and SRV records, we delete the previous record if any by sending the same
3095 LogInfo("hndlSRVChanged: SRVChanged, No Target, SRV Deregistered for %##s, state %d", rr->resrec.name->c,
3118 // If we were in registered state and SRV changed to NULL, we deregister and come back here
3122 // SRV and its assoicated records
3126 (rr->state == regState_Pending && !SameDomainName(target, &rr->resrec.rdata->u.srv.target)))
3188 // If we are deregistering the record, then complete the deregistration. Ignore any NAT/SRV change
3863 if (newRR->resrec.rrtype == kDNSType_SRV && !mDNSIPPortIsZero(newRR->resrec.rdata->u.srv.port) &&
3981 // A record could be in NoTarget to start with if the corresponding SRV record could not find a target.