Lines Matching defs:ns_name
5385 dns_name_t *name, *qname, *ns_name, *soa_name, *ds_name;
5446 ns_name = NULL;
5476 if (ns_name != NULL &&
5477 name != ns_name)
5479 ns_name = name;
5526 if (ns_rdataset != NULL && dns_name_equal(&fctx->domain, ns_name) &&
5527 !dns_name_equal(ns_name, dns_rootname))
5528 trim_ns_ttl(fctx, ns_name, ns_rdataset);
5588 if (ns_name == NULL)
5632 if (!negative_response && ns_name == NULL) {
5654 if (ns_name != NULL && soa_name != NULL && ns_name != soa_name)
5661 if (!negative_response && ns_name != NULL && oqname == NULL) {
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))
5675 if (! dns_name_issubdomain(&fctx->name, ns_name)) {
5710 result = dns_name_dup(ns_name, fctx->mctx, &fctx->domain);
5723 if (ns_name != NULL)
5724 ns_name->attributes &= ~DNS_NAMEATTR_CACHE;
5736 dns_name_t *name, *qname, tname, *ns_name;
6088 ns_name = NULL;
6118 ns_name = name;
6140 if (ns_rdataset != NULL && dns_name_equal(&fctx->domain, ns_name) &&
6141 !dns_name_equal(ns_name, dns_rootname))
6142 trim_ns_ttl(fctx, ns_name, ns_rdataset);