Lines Matching defs:domain

275 	dns_name_t			domain;
426 dns_name_t *domain;
644 namereln = dns_name_fullcompare(&rrsig.signer, &fctx->domain,
656 dns_name_t *domain = &fctx->domain;
764 dns_name_equal(name, domain))
780 if (dns_name_equal(name, domain)) {
793 } else if (dns_name_issubdomain(name, domain)) {
1205 dns_name_format(&fctx->domain, dbuf, sizeof(dbuf));
1227 bucketnum = dns_name_fullhash(&fctx->domain, ISC_FALSE)
1241 if (dns_name_equal(counter->domain, &fctx->domain))
1256 counter->domain = dns_fixedname_name(&counter->fdname);
1257 dns_name_copy(&fctx->domain, counter->domain, NULL);
1295 if (dns_name_equal(counter->domain, &fctx->domain))
1407 * We do not know if fctx->domain is the actual domain the record
1408 * lives in or a parent domain so we have a '?' after it.
1410 dns_name_format(&fctx->domain, domainbuf, sizeof(domainbuf));
2067 * For DS variants we need to check fom the parent domain,
2069 * while the enclosing domain where the DS record lives is
2482 result = dns_name_towire(&fctx->domain, &cctx, &zb);
3096 * If this name is a subdomain of the query domain, tell
3102 if (dns_name_issubdomain(name, &fctx->domain))
3267 dns_name_t *domain;
3282 domain = dns_fixedname_name(&fixed);
3284 domain, &forwarders);
3289 isstrictsubdomain(domain, &fctx->domain)) {
3291 dns_name_free(&fctx->domain, fctx->mctx);
3292 dns_name_init(&fctx->domain, NULL);
3293 result = dns_name_dup(domain, fctx->mctx,
3294 &fctx->domain);
3774 if (dns_name_countlabels(&fctx->domain) > 2) {
3896 if (dns_name_countlabels(&fctx->domain) > 0)
3897 dns_name_free(&fctx->domain, fctx->mctx);
4215 dns_name_format(&fctx->domain, domainbuf, sizeof(domainbuf));
4225 dns_name_t *domain, dns_rdataset_t *nameservers,
4278 dns_name_init(&fctx->domain, NULL);
4344 if (domain == NULL) {
4365 domain = dns_fixedname_name(&fixed);
4367 domain, &forwarders);
4373 * The caller didn't supply a query domain and
4380 domain, 0, findoptions,
4387 result = dns_name_dup(domain, mctx, &fctx->domain);
4395 * We're in forward-only mode. Set the query domain.
4397 result = dns_name_dup(domain, mctx, &fctx->domain);
4402 result = dns_name_dup(domain, mctx, &fctx->domain);
4411 * Are there too many simultaneous queries for this domain?
4422 INSIST(dns_name_issubdomain(&fctx->name, &fctx->domain));
4510 if (dns_name_countlabels(&fctx->domain) > 0)
4511 dns_name_free(&fctx->domain, mctx);
4565 namereln = dns_name_fullcompare(name, &fctx->domain,
4587 dns_name_format(&fctx->domain, domainbuf, sizeof(domainbuf));
5508 * If this RRset is in a secure domain, is in bailiwick,
5513 * records from a secure domain are only cached if validated
5514 * within the context of a query to the domain that owns
6147 external = ISC_TF(!dns_name_issubdomain(name, &fctx->domain));
6383 * If the target name is a subdomain of the search domain, allow it.
6385 if (dns_name_issubdomain(tname, &fctx->domain))
6483 * domain, there's no point in looking at the authority
6489 if (!dns_name_issubdomain(qname, &fctx->domain))
6521 if (dns_name_issubdomain(name, &fctx->domain)) {
6620 if (ns_rdataset != NULL && dns_name_equal(&fctx->domain, ns_name) &&
6638 if (dns_name_issubdomain(name, &fctx->domain)) {
6758 if (!dns_name_issubdomain(save_name, &fctx->domain)) {
6766 dns_name_format(&fctx->domain, dbuf,
6793 * We already know ns_name is a subdomain of fctx->domain.
6794 * If ns_name is equal to fctx->domain, we're not making
6798 if (dns_name_equal(ns_name, &fctx->domain)) {
6817 * query domain.
6848 * Set the current query domain to the referral name.
6853 INSIST(dns_name_countlabels(&fctx->domain) > 0);
6855 dns_name_free(&fctx->domain, fctx->mctx);
6858 dns_name_init(&fctx->domain, NULL);
6859 result = dns_name_dup(ns_name, fctx->mctx, &fctx->domain);
6946 domain_labels = dns_name_countlabels(&fctx->domain);
6989 * as many labels as the domain being queried.
7216 external = ISC_TF(!dns_name_issubdomain(name, &fctx->domain));
7264 if (ns_rdataset != NULL && dns_name_equal(&fctx->domain, ns_name) &&
7321 dns_name_t *domain;
7376 dns_name_free(&fctx->domain, fctx->mctx);
7377 dns_name_init(&fctx->domain, NULL);
7378 result = dns_name_dup(&fctx->nsname, fctx->mctx, &fctx->domain);
7400 domain = dns_fixedname_name(&fixed);
7401 dns_name_copy(&fctx->nsfetch->private->domain, domain, NULL);
7402 if (dns_name_equal(&fctx->nsname, domain)) {
7420 domain = NULL;
7434 dns_rdatatype_ns, domain,
7584 if (!isstrictsubdomain(name, &fctx->domain))
7896 result = dns_name_towire(&fctx->domain, &cctx, &zb);
8312 dns_view_isdelegationonly(res->view, &fctx->domain) &&
8313 !dns_name_equal(&fctx->domain, &fctx->name) &&
8322 dns_name_format(&fctx->domain, domainbuf, sizeof(domainbuf));
8586 name = &fctx->domain;
8598 if (!dns_name_issubdomain(fname, &fctx->domain)) {
8609 dns_name_free(&fctx->domain, fctx->mctx);
8610 dns_name_init(&fctx->domain, NULL);
8611 result = dns_name_dup(fname, fctx->mctx, &fctx->domain);
9367 dns_name_t *domain, dns_rdataset_t *nameservers,
9375 return (dns_resolver_createfetch3(res, name, type, domain,
9384 dns_name_t *domain, dns_rdataset_t *nameservers,
9393 return (dns_resolver_createfetch3(res, name, type, domain,
9402 dns_name_t *domain, dns_rdataset_t *nameservers,
9428 if (domain != NULL) {
9499 result = fctx_create(res, name, type, domain, nameservers,
9656 dns_name_format(&fctx->domain, domainbuf, sizeof(domainbuf));
9661 "[domain:%s,referral:%u,restart:%u,qrysent:%u,"
10294 dns_name_print(fc->domain, fp);