Lines Matching defs:lookup
124 "lookup "
155 if (query->lookup->use_usec) {
167 trying(char *frm, dig_lookup_t *lookup) {
168 UNUSED(lookup);
195 if (query->lookup->identify_previous_line) {
199 if (query->lookup->identify) {
244 if (query->lookup->rdtype == dns_rdatatype_axfr &&
413 dns_name_format(query->lookup->name, namestr, sizeof(namestr));
415 if (query->lookup->identify_previous_line) {
420 : query->lookup->textname,
426 : query->lookup->textname,
432 if (default_lookups && query->lookup->rdtype == dns_rdatatype_a) {
434 dig_lookup_t *lookup;
440 dns_name_copy(query->lookup->name, name);
443 lookup = clone_lookup(query->lookup, false);
444 if (lookup != NULL) {
445 strlcpy(lookup->textname, namestr,
446 sizeof(lookup->textname));
447 lookup->rdtype = dns_rdatatype_aaaa;
448 lookup->rdtypeset = true;
449 lookup->origin = NULL;
450 lookup->retries = tries;
451 ISC_LIST_APPEND(lookup_list, lookup, link);
453 lookup = clone_lookup(query->lookup, false);
454 if (lookup != NULL) {
455 strlcpy(lookup->textname, namestr,
456 sizeof(lookup->textname));
457 lookup->rdtype = dns_rdatatype_mx;
458 lookup->rdtypeset = true;
459 lookup->origin = NULL;
460 lookup->retries = tries;
461 ISC_LIST_APPEND(lookup_list, lookup, link);
574 dns_name_format(query->lookup->name, namestr, sizeof(namestr));
575 dns_rdatatype_format(query->lookup->rdtype, typestr,
684 dig_lookup_t *lookup;
695 lookup = make_empty_lookup();
697 lookup->servfail_stops = false;
698 lookup->besteffort = false;
699 lookup->comments = false;
705 lookup->tcp_mode = true;
706 lookup->rdtype = dns_rdatatype_axfr;
707 lookup->rdtypeset = true;
715 lookup->recurse = false;
738 if (!lookup->rdtypeset ||
739 lookup->rdtype != dns_rdatatype_axfr)
741 lookup->rdtype = rdtype;
743 lookup->rdtypeset = true;
748 lookup->tcp_mode = true;
750 lookup->ixfr_serial = serial;
751 lookup->tcp_mode = true;
754 if (!lookup->tcp_mode_set) {
755 lookup->tcp_mode = true;
774 lookup->rdclass = rdclass;
775 lookup->rdclassset = true;
783 if (!lookup->rdtypeset ||
784 lookup->rdtype != dns_rdatatype_axfr)
786 lookup->rdtype = dns_rdatatype_any;
790 lookup->rdtypeset = true;
823 lookup->tcp_mode = true;
824 lookup->tcp_mode_set = true;
827 lookup->tcp_mode = false;
828 lookup->tcp_mode_set = true;
832 lookup->rdtype = dns_rdatatype_ns;
833 lookup->rdtypeset = true;
834 lookup->rdclass = dns_rdataclass_in;
835 lookup->rdclassset = true;
836 lookup->ns_search_only = true;
837 lookup->trace_root = true;
838 lookup->identify_previous_line = true;
855 lookup->servfail_stops = true;
864 lookup->retries = tries;
880 lookup->pending = false;
883 strlcpy(lookup->textname, store, sizeof(lookup->textname));
884 lookup->rdtype = dns_rdatatype_ptr;
885 lookup->rdtypeset = true;
888 strlcpy(lookup->textname, hostname, sizeof(lookup->textname));
891 lookup->new_search = true;
892 ISC_LIST_APPEND(lookup_list, lookup, link);