Lines Matching defs:query
240 printsection(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers,
248 UNUSED(query);
306 detailsection(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers,
314 UNUSED(query);
392 received(int bytes, isc_sockaddr_t *from, dig_query_t *query)
396 UNUSED(query);
407 printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
415 isc_sockaddr_format(&query->sockaddr, servtext, sizeof(servtext));
416 printf("Server:\t\t%s\n", query->userarg);
424 /* detailheader(query, msg);*/
425 detailsection(query, msg, headers, DNS_SECTION_QUESTION);
426 detailsection(query, msg, headers, DNS_SECTION_ANSWER);
427 detailsection(query, msg, headers, DNS_SECTION_AUTHORITY);
428 detailsection(query, msg, headers, DNS_SECTION_ADDITIONAL);
434 dns_name_format(query->lookup->name,
448 printsection(query, msg, headers, DNS_SECTION_ANSWER);
451 query->lookup->textname);
454 (query->lookup->rdtype != dns_rdatatype_a)) {
456 printsection(query, msg, headers,
458 printsection(query, msg, headers,
522 printf("unknown query type: %s\n", typetext);
539 printf("unknown query class: %s\n", typetext);
611 } else if (strncasecmp(opt, "query=", 6) == 0) {
693 printf("unknown query type: %s\n", deftype);
700 printf("unknown query class: %s\n", defclass);