/bind-9.6-ESV-R11/bin/tests/system/resolver/ans2/ |
H A D | ans.pl | 62 my $qname = $questions[0]->qname; 64 if ($qname eq "cname1.example.com") { 68 } elsif ($qname eq "cname2.example.com") { 72 } elsif ($qname =~ /^nodata\.example\.net$/i) { 74 } elsif ($qname =~ /^nxdomain\.example\.net$/i) {
|
/bind-9.6-ESV-R11/bin/tests/system/ |
H A D | ans.pl | 41 # "qname qtype" (the printable query domain name, space, 122 my $qname = $questions[0]->qname; 127 my $packet = new Net::DNS::Packet($qname, $qtype, $qclass); 145 if ("$qname $qtype" =~ /$dbtype/) { 312 my $qname = $questions[0]->qname; 317 my $packet = new Net::DNS::Packet($qname, $qtype, $qclass); 340 if ("$qname $qtype" =~ /$dbtype/) { 388 $packet = new Net::DNS::Packet($qname, [all...] |
/bind-9.6-ESV-R11/bin/tests/ |
H A D | sig0_test.c | 134 dns_name_t *qname = NULL; local 154 result = dns_message_gettempname(query, &qname); 159 dns_name_init(qname, NULL); 160 result = dns_name_fromtext(qname, &namesrc, dns_rootname, ISC_FALSE, 163 ISC_LIST_APPEND(qname->list, question, link); 164 dns_message_addname(query, qname, DNS_SECTION_QUESTION);
|
/bind-9.6-ESV-R11/lib/dns/include/dns/ |
H A D | adb.h | 53 * Lameness is stored per <qname,qtype> tuple, and this data hangs off each 333 void *arg, dns_name_t *name, dns_name_t *qname, 389 *\li qname != NULL and *qname be a valid dns_name_t. 491 dns_adb_marklame(dns_adb_t *adb, dns_adbaddrinfo_t *addr, dns_name_t *qname, 494 * Mark the given address as lame for the <qname,qtype>. expire_time should 504 *\li qname be the qname used in the dns_adb_createfind() call.
|
/bind-9.6-ESV-R11/bin/named/include/named/ |
H A D | query.h | 46 dns_name_t * qname; member in struct:ns_query
|
/bind-9.6-ESV-R11/bin/tests/system/upforwd/ans4/ |
H A D | ans.pl | 41 # "qname qtype" (the printable query domain name, space, 116 my $qname = $questions[0]->qname; 132 if ("$qname $qtype" =~ /$dbtype/) { 268 my $qname = $questions[0]->qname; 288 if ("$qname $qtype" =~ /$dbtype/) {
|
/bind-9.6-ESV-R11/contrib/queryperf/ |
H A D | queryperf.c | 133 char qname[MAX_DOMAIN_LEN + 1]; member in struct:query_status 139 char qname[MAX_DOMAIN_LEN + 1]; member in struct:query_mininfo 1339 * Set qname to be the domain to query (up to a max of qnlen chars) 1346 parse_query(char *input, char *qname, unsigned int qnlen, int *qtype) { argument 1385 strcpy(qname, domain_str); 1530 status[count].qname, MAX_DOMAIN_LEN) == -1) { 1532 "query message doesn't have qname?\n"); 1546 register_rtt(struct timeval *timestamp, char *qname, int qtype, argument 1590 "[query=%s/%d, rcode=%u]\n", rtt, qname, qtype, rcode); 1605 register_response(unsigned short int id, unsigned int rcode, char *qname, argument 1668 char qname[MAX_DOMAIN_LEN + 1]; local [all...] |
/bind-9.6-ESV-R11/bin/tests/dst/ |
H A D | gsstest.c | 197 dns_name_t *qname = NULL; local 227 result = dns_message_gettempname(message, &qname); 235 dns_name_init(qname, NULL); 236 dns_name_clone(dns_fixedname_name(&queryname), qname); local 240 ISC_LIST_APPEND(qname->list, qrdataset, link); 241 dns_message_addname(message, qname, DNS_SECTION_QUESTION); 259 if (qname != NULL) 260 dns_message_puttempname(message, &qname);
|
/bind-9.6-ESV-R11/bin/named/ |
H A D | xfrout.c | 835 dns_name_t *qname; /* Question name of request */ member in struct:__anon19 861 unsigned int id, dns_name_t *qname, dns_rdatatype_t qtype, 1315 dns_name_t *qname, dns_rdatatype_t qtype, 1337 xfr->qname = qname; 1495 dns_name_t *qname = NULL; local 1513 result = dns_message_gettempname(msg, &qname); 1516 dns_name_init(qname, NULL); 1518 INSIST(r.length >= xfr->qname->length); 1519 r.length = xfr->qname 1314 xfrout_ctx_create(isc_mem_t *mctx, ns_client_t *client, unsigned int id, dns_name_t *qname, dns_rdatatype_t qtype, dns_rdataclass_t qclass, dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *ver, isc_quota_t *quota, rrstream_t *stream, dns_tsigkey_t *tsigkey, isc_buffer_t *lasttsig, unsigned int maxtime, unsigned int idletime, isc_boolean_t many_answers, xfrout_ctx_t **xfrp) argument [all...] |
H A D | query.c | 140 query_findclosestnsec3(dns_name_t *qname, dns_db_t *db, 307 * client->query.qname was dynamically allocated. 310 &client->query.qname); 312 client->query.qname = NULL; 319 client->query.qname = NULL; 548 client->query.qname = NULL; 2291 query_addcnamelike(ns_client_t *client, dns_name_t *qname, dns_name_t *tname, argument 2320 result = dns_name_dup(qname, client->mctx, *anamep); 2555 result = query_getdb(client, client->query.qname, dns_rdatatype_ns, 0, 2585 result = dns_db_find(db, client->query.qname, versio 3668 query_findclosestnsec3(dns_name_t *qname, dns_db_t *db, dns_dbversion_t *version, ns_client_t *client, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset, dns_name_t *fname, isc_boolean_t exact, dns_name_t *found) argument 4306 dns_name_t *qname; local [all...] |
H A D | client.c | 2751 dns_name_format(client->query.qname, namebuf, sizeof(namebuf)); 2766 * client->query.qname was dynamically allocated. 2769 &client->query.qname); 2771 client->query.qname = name;
|
/bind-9.6-ESV-R11/lib/dns/ |
H A D | tkey.c | 599 dns_name_t *qname, *name, *keyname, *signer, tsigner; local 620 qname = NULL; 621 dns_message_currentname(msg, DNS_SECTION_QUESTION, &qname); 628 result = dns_message_findname(msg, DNS_SECTION_ADDITIONAL, qname, 635 if (dns_message_findname(msg, DNS_SECTION_ANSWER, qname, 696 * if (qname != ".") 697 * keyname = qname + defaultdomain 713 if (!dns_name_equal(qname, dns_rootname)) { 714 unsigned int n = dns_name_countlabels(qname); 715 RUNTIME_CHECK(dns_name_copy(qname, keynam 841 dns_name_t *qname = NULL, *aname = NULL; local [all...] |
H A D | nsec3.c | 1443 dns_name_t *qname; local 1558 qname = dns_fixedname_name(&qfixed); 1559 dns_name_downcase(name, qname, NULL); 1560 qlabels = dns_name_countlabels(qname); 1566 qname->ndata, qname->length); 1643 dns_name_issubdomain(qname, closest)) && 1650 dns_name_format(qname, namebuf, 1655 dns_name_copy(qname, closest, NULL); 1658 dns_name_format(qname, namebu [all...] |
H A D | adb.c | 217 * This is a small widget that holds qname-specific information about an 224 dns_name_t qname; member in struct:dns_adblameinfo 1368 new_adblameinfo(dns_adb_t *adb, dns_name_t *qname, dns_rdatatype_t qtype) { argument 1375 dns_name_init(&li->qname, NULL); 1376 if (dns_name_dup(qname, adb->mctx, &li->qname) != ISC_R_SUCCESS) { 1398 dns_name_free(&li->qname, adb->mctx); 1677 entry_is_lame(dns_adb_t *adb, dns_adbentry_t *entry, dns_name_t *qname, argument 1706 dns_name_equal(qname, &li->qname)) 1716 copy_namehook_lists(dns_adb_t *adb, dns_adbfind_t *find, dns_name_t *qname, dns_rdatatype_t qtype, dns_adbname_t *name, isc_stdtime_t now) argument 2279 dns_adb_createfind(dns_adb_t *adb, isc_task_t *task, isc_taskaction_t action, void *arg, dns_name_t *name, dns_name_t *qname, dns_rdatatype_t qtype, unsigned int options, isc_stdtime_t now, dns_name_t *target, in_port_t port, dns_adbfind_t **findp) argument 3375 dns_adb_marklame(dns_adb_t *adb, dns_adbaddrinfo_t *addr, dns_name_t *qname, dns_rdatatype_t qtype, isc_stdtime_t expire_time) argument [all...] |
H A D | xfrin.c | 1051 dns_name_t *qname = NULL; local 1060 CHECK(dns_message_gettempname(msg, &qname)); 1061 dns_name_init(qname, NULL); 1062 dns_name_clone(&xfr->name, qname); 1068 ISC_LIST_APPEND(qname->list, qrdataset, link); 1071 dns_message_addname(msg, qname, DNS_SECTION_QUESTION); 1072 qname = NULL; 1131 if (qname != NULL) 1132 dns_message_puttempname(msg, &qname);
|
H A D | resolver.c | 1622 dns_name_t *qname = NULL; local 1663 result = dns_message_gettempname(fctx->qmessage, &qname); 1689 dns_name_init(qname, NULL); 1690 dns_name_clone(&fctx->name, qname); 1693 ISC_LIST_APPEND(qname->list, qrdataset, link); 1694 dns_message_addname(fctx->qmessage, qname, DNS_SECTION_QUESTION); 1695 qname = NULL; 1983 if (qname != NULL) 1984 dns_message_puttempname(fctx->qmessage, &qname); 5311 dname_target(dns_rdataset_t *rdataset, dns_name_t *qname, dns_name_ argument 5385 dns_name_t *name, *qname, *ns_name, *soa_name, *ds_name; local 5736 dns_name_t *name, *qname, tname, *ns_name; local [all...] |
H A D | zone.c | 8060 dns_name_t *qname = NULL; local 8072 result = dns_message_gettempname(message, &qname); 8083 dns_name_init(qname, NULL); 8084 dns_name_clone(&zone->origin, qname); 8087 ISC_LIST_APPEND(qname->list, qrdataset, link); 8088 dns_message_addname(message, qname, DNS_SECTION_QUESTION); 8094 if (qname != NULL) 8095 dns_message_puttempname(message, &qname);
|
H A D | rbtdb.c | 2951 activeemtpynode(rbtdb_search_t *search, dns_name_t *qname, dns_name_t *wname) { argument 2984 * Find if qname is at or below a empty node. 3042 dns_name_clone(qname, &rname); 3067 dns_name_t *qname) 3179 if (activeemtpynode(search, qname, 3066 find_wildcard(rbtdb_search_t *search, dns_rbtnode_t **nodep, dns_name_t *qname) argument
|
/bind-9.6-ESV-R11/bin/dig/ |
H A D | host.c | 393 chase_cnamechain(dns_message_t *msg, dns_name_t *qname) { argument 402 result = dns_message_findname(msg, DNS_SECTION_ANSWER, qname, 413 dns_name_copy(&cname.cname, qname, NULL);
|