Lines Matching defs:qname
129 if (client != NULL && client->query.qname != NULL) {
133 dns_name_format(client->query.qname,
198 query_findclosestnsec3(dns_name_t *qname, dns_db_t *db,
244 rdataset = ISC_LIST_HEAD(client->query.qname->list);
440 * client->query.qname was dynamically allocated.
443 &client->query.qname);
445 client->query.qname = NULL;
685 client->query.qname = NULL;
1004 dns_name_format(client->query.qname, qname_buf, sizeof(qname_buf));
1054 dns_name_format(client->query.qname, qnamebuf, sizeof(qnamebuf));
1105 dns_name_format(client->query.qname, qnamebuf,
2994 query_add_cname(ns_client_t *client, dns_name_t *qname, dns_name_t *tname,
3012 result = dns_name_dup(qname, client->mctx, aname);
3276 result = query_getdb(client, client->query.qname, dns_rdatatype_ns, 0,
3306 result = dns_db_findext(db, client->query.qname, version,
3326 result = dns_db_findzonecut(db, client->query.qname,
3607 * owner name and next names with the qname and prefixing that
3721 * Add no qname proof.
3872 query_addwildcardproof(client, db, version, client->query.qname,
4024 query_prefetch(ns_client_t *client, dns_name_t *qname,
4060 qname, rdataset->type, NULL, NULL,
4074 query_recurse(ns_client_t *client, dns_rdatatype_t qtype, dns_name_t *qname,
4182 qname, qtype, qdomain, nameservers,
4289 zbits = st->have.qname;
4343 query_rpzfetch(ns_client_t *client, dns_name_t *qname, dns_rdatatype_t type) {
4373 result = dns_resolver_createfetch3(client->view->resolver, qname, type,
4577 * The self-name (usually the client qname or an NS name) is compared with
5360 rpz_log_fail(client, DNS_RPZ_DEBUG_LEVEL3, client->query.qname,
5365 rpz_log_fail(client, DNS_RPZ_DEBUG_LEVEL1, client->query.qname,
5412 * for the current qname.
5416 result = rpz_rewrite_name(client, client->query.qname,
5426 st->r.label = dns_name_countlabels(client->query.qname);
5433 * Quit if this was an attempt to find a qname or
5436 * For example, consider 2 policy zones, both with qname and
5437 * IP address triggers. If the qname misses the 1st zone,
5438 * then we cannot know whether a hit for the qname in the
5465 client->query.qname, qtype,
5471 * We are finished checking the IP addresses for the qname.
5491 dns_name_clone(client->query.qname, dns_fixedname_name(&nsnamef));
5494 * Get NS rrset for each domain in the current qname.
5496 if (st->r.label == dns_name_countlabels(client->query.qname)) {
5497 nsname = client->query.qname;
5500 dns_name_split(client->query.qname, st->r.label,
5736 dns_name_split(client->query.qname, 1,
5753 result = query_add_cname(client, client->query.qname,
5945 if (dns_name_equal(name, client->query.qname)) {
6060 query_findclosestnsec3(dns_name_t *qname, dns_db_t *db,
6088 dns_name_clone(qname, &name);
6129 dns_name_getlabelsequence(qname, skip, labels - skip,
6148 if (found == qname) {
6150 dns_name_getlabelsequence(qname, skip, labels - skip,
6342 result = dns_db_findext(db, client->query.qname, dbversion->version,
6855 client->query.qname, qtype,
6860 client->query.qname, qtype,
6871 dns_name_format(client->query.qname,
6908 !dns_rdata_checkowner(client->query.qname,
6915 dns_name_format(client->query.qname, namebuf, sizeof(namebuf));
6932 !dns_name_equal(client->query.qname, dns_rootname))
6934 result = query_getdb(client, client->query.qname, qtype, options,
6949 tresult = query_getzonedb(client, client->query.qname, qtype,
7049 * AAAA lookup on a rpz database adjust the qname.
7054 rpzqname = client->query.qname;
7065 rresult = dns_name_copy(client->query.qname, fname, NULL);
7218 !dns_name_equal(client->query.qname, dns_rootname))
7266 rresult = dns_name_copy(client->query.qname,
7438 client->query.qname,
7478 client->query.qname,
7634 client->query.qname,
7639 client->query.qname,
7643 client->query.qname,
7747 dns_name_copy(client->query.qname, fname, NULL);
7785 dns_name_t *qname;
7789 qname = client->query.qname;
7791 query_findclosestnsec3(qname, db, version,
7801 !dns_name_equal(qname, found) &&
7818 skip = dns_name_countlabels(qname) -
7820 dns_name_getlabelsequence(qname, skip,
7853 client->query.qname,
8007 client->query.qname, ISC_FALSE,
8125 dns_name_copy(client->query.qname, fname, NULL);
8190 client->query.qname,
8243 * Reset qname to be the target name of the CNAME and restart
8277 * Compare the current qname to the found name. We need
8279 * we're going to have to split qname later on.
8281 namereln = dns_name_fullcompare(client->query.qname, fname,
8336 * Construct the new qname consisting of
8341 dns_name_split(client->query.qname, nlabels, prefix, NULL);
8369 * <old qname> <dname ttl> CNAME <new qname>
8381 result = query_add_cname(client, client->query.qname, fname,
8386 * Switch to the new qname and restart.
8620 dns_name_format(client->query.qname,
8671 client->query.qname,
8746 client->query.qname,
8811 if (dns_name_equal(client->query.qname,
8820 if (dns_name_equal(client->query.qname, dns_rootname)) {
9069 !dns_name_istat(client->query.qname)) &&
9077 dns_name_format(client->query.qname, namebuf, sizeof(namebuf));
9128 rdataset = ISC_LIST_HEAD(client->query.qname->list);
9130 dns_name_format(client->query.qname, namebuf, sizeof(namebuf));
9293 &client->query.qname);
9294 client->query.origqname = client->query.qname;
9314 rdataset = ISC_LIST_HEAD(client->query.qname->list);