Lines Matching refs:domain

193 	dns_name_t			domain;
524 namereln = dns_name_fullcompare(&rrsig.signer, &fctx->domain,
536 dns_name_t *domain = &fctx->domain;
644 dns_name_equal(name, domain))
660 if (dns_name_equal(name, domain)) {
673 } else if (dns_name_issubdomain(name, domain)) {
1113 * We do not know if fctx->domain is the actual domain the record
1114 * lives in or a parent domain so we have a '?' after it.
1116 dns_name_format(&fctx->domain, domainbuf, sizeof(domainbuf));
2487 * If this name is a subdomain of the query domain, tell
2493 if (dns_name_issubdomain(name, &fctx->domain))
2634 dns_name_t *domain;
2649 domain = dns_fixedname_name(&fixed);
2651 domain, &forwarders);
2656 isstrictsubdomain(domain, &fctx->domain)) {
2657 dns_name_free(&fctx->domain, fctx->mctx);
2658 dns_name_init(&fctx->domain, NULL);
2659 result = dns_name_dup(domain, fctx->mctx,
2660 &fctx->domain);
3191 if (dns_name_countlabels(&fctx->domain) > 0)
3192 dns_name_free(&fctx->domain, fctx->mctx);
3504 dns_name_format(&fctx->domain, domainbuf, sizeof(domainbuf));
3514 dns_name_t *domain, dns_rdataset_t *nameservers,
3551 dns_name_init(&fctx->domain, NULL);
3613 if (domain == NULL) {
3630 domain = dns_fixedname_name(&fixed);
3632 domain, &forwarders);
3638 * The caller didn't supply a query domain and
3644 result = dns_view_findzonecut(res->view, name, domain,
3650 result = dns_name_dup(domain, mctx, &fctx->domain);
3659 * We're in forward-only mode. Set the query domain.
3661 result = dns_name_dup(domain, mctx, &fctx->domain);
3666 result = dns_name_dup(domain, mctx, &fctx->domain);
3676 INSIST(dns_name_issubdomain(&fctx->name, &fctx->domain));
3760 if (dns_name_countlabels(&fctx->domain) > 0)
3761 dns_name_free(&fctx->domain, mctx);
3809 namereln = dns_name_fullcompare(name, &fctx->domain,
3831 dns_name_format(&fctx->domain, domainbuf, sizeof(domainbuf));
4650 * If this RRset is in a secure domain, is in bailiwick,
4655 * records from a secure domain are only cached if validated
4656 * within the context of a query to the domain that owns
5219 external = ISC_TF(!dns_name_issubdomain(name, &fctx->domain));
5418 * domain, there's no point in looking at the authority
5424 if (!dns_name_issubdomain(qname, &fctx->domain))
5454 if (dns_name_issubdomain(name, &fctx->domain)) {
5526 if (ns_rdataset != NULL && dns_name_equal(&fctx->domain, ns_name) &&
5544 if (dns_name_issubdomain(name, &fctx->domain)) {
5663 * We already know ns_name is a subdomain of fctx->domain.
5664 * If ns_name is equal to fctx->domain, we're not making
5668 if (dns_name_equal(ns_name, &fctx->domain))
5683 * query domain.
5700 * Set the current query domain to the referral name.
5705 INSIST(dns_name_countlabels(&fctx->domain) > 0);
5706 dns_name_free(&fctx->domain, fctx->mctx);
5709 dns_name_init(&fctx->domain, NULL);
5710 result = dns_name_dup(ns_name, fctx->mctx, &fctx->domain);
5770 external = ISC_TF(!dns_name_issubdomain(name, &fctx->domain));
5879 * our query domain, and
6094 external = ISC_TF(!dns_name_issubdomain(name, &fctx->domain));
6140 if (ns_rdataset != NULL && dns_name_equal(&fctx->domain, ns_name) &&
6186 dns_name_t *domain;
6219 dns_name_free(&fctx->domain, fctx->mctx);
6220 dns_name_init(&fctx->domain, NULL);
6221 result = dns_name_dup(&fctx->nsname, fctx->mctx, &fctx->domain);
6238 domain = dns_fixedname_name(&fixed);
6239 dns_name_copy(&fctx->nsfetch->private->domain, domain, NULL);
6240 if (dns_name_equal(&fctx->nsname, domain)) {
6252 domain = NULL;
6262 dns_rdatatype_ns, domain,
6849 dns_view_isdelegationonly(fctx->res->view, &fctx->domain) &&
6850 !dns_name_equal(&fctx->domain, &fctx->name) &&
6859 dns_name_format(&fctx->domain, domainbuf, sizeof(domainbuf));
7046 name = &fctx->domain;
7058 if (!dns_name_issubdomain(fname, &fctx->domain)) {
7067 dns_name_free(&fctx->domain, fctx->mctx);
7068 dns_name_init(&fctx->domain, NULL);
7069 result = dns_name_dup(fname, fctx->mctx, &fctx->domain);
7773 dns_name_t *domain, dns_rdataset_t *nameservers,
7781 return (dns_resolver_createfetch2(res, name, type, domain,
7790 dns_name_t *domain, dns_rdataset_t *nameservers,
7815 if (domain != NULL) {
7884 result = fctx_create(res, name, type, domain, nameservers,
8040 dns_name_format(&fctx->domain, domainbuf, sizeof(domainbuf));
8045 "[domain:%s,referral:%u,restart:%u,qrysent:%u,"