Lines Matching refs:rcode
2705 int rcode; in res_queryN() local
2708 rcode = NOERROR; in res_queryN()
2733 hp->rcode = NOERROR; /* default */ in res_queryN()
2768 rcode = hp->rcode; /* record most recent error */ in res_queryN()
2777 hp->rcode = FORMERR; /* XXX not very informative */ in res_queryN()
2778 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_queryN()
2779 rcode = hp->rcode; /* record most recent error */ in res_queryN()
2782 printf(";; rcode = %u, ancount=%u\n", hp->rcode, in res_queryN()
2796 switch (rcode) { in res_queryN()
2871 if (hp->rcode == SERVFAIL) in res_searchN()
2934 if (hp->rcode == SERVFAIL) { in res_searchN()
2957 if (hp->rcode == SERVFAIL) in res_searchN()