Lines Matching defs:response
67 dns_message_t *query, *response;
83 response = NULL;
84 result = dns_message_create(mctx, DNS_MESSAGE_INTENTPARSE, &response);
87 result = dns_request_getresponse(reqev->request, response,
91 if (response->rcode != dns_rcode_noerror) {
92 result = ISC_RESULTCLASS_DNSRCODE + response->rcode;
93 fprintf(stderr, "I:response rcode: %s\n",
97 if (response->counts[DNS_SECTION_ANSWER] != 1U) {
98 fprintf(stderr, "I:response answer count (%u!=1)\n",
99 response->counts[DNS_SECTION_ANSWER]);
103 result = dns_message_sectiontotext(response, DNS_SECTION_ANSWER,
113 dns_message_destroy(&response);