Lines Matching defs:query
143 " -c specifies query class for non-IN data\n"
152 " -s a SERVFAIL response should stop query\n"
153 " -t specifies the query type\n"
159 " -4 use IPv4 query transport only\n"
160 " -6 use IPv6 query transport only\n", stderr);
170 received(int bytes, isc_sockaddr_t *from, dig_query_t *query) {
178 diff = (int) isc_time_microdiff(&now, &query->time_sent);
194 dig_query_t *query)
214 if (query->lookup->identify_previous_line) {
216 query->servname);
220 if (query->lookup->identify) {
221 printf(" on server %s", query->servname);
241 dig_query_t *query)
281 if (query->lookup->rdtype == dns_rdatatype_axfr &&
332 &rdata, query);
410 printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
429 printf("Name: %s\n", query->userarg);
430 isc_sockaddr_format(&query->sockaddr, sockstr,
439 dns_name_format(query->lookup->name, namestr, sizeof(namestr));
441 if (query->lookup->identify_previous_line)
443 query->servname,
445 query->lookup->textname, msg->rcode,
450 query->lookup->textname, msg->rcode,
455 if (default_lookups && query->lookup->rdtype == dns_rdatatype_a) {
464 dns_name_copy(query->lookup->name, name, NULL);
467 lookup = clone_lookup(query->lookup, ISC_FALSE);
477 lookup = clone_lookup(query->lookup, ISC_FALSE);
543 ISC_TRUE, query);
551 ISC_TF(!short_form), query);
560 ISC_TRUE, query);
568 "ADDITIONAL", ISC_TRUE, query);
586 dns_name_format(query->lookup->name, namestr, sizeof(namestr));
587 dns_rdatatype_format(query->lookup->rdtype, typestr,