T_PTR
case T_PTR:
if (qtype == T_PTR && type == T_CNAME) {
case T_PTR:
n = res_nquery(statp, qbuf, C_IN, T_PTR, (u_char *)buf->buf,
if (gethostanswer(buf, n, qbuf, T_PTR, &he, hed, statp) != 0) {
if (class == C_IN && type == T_PTR) {
anslen = res_nquery(statp, qbuf, C_IN, T_PTR, (u_char *)buf,
anslen = res_nsearch(statp, qbuf, C_IN, T_PTR, (u_char *)buf,
case T_PTR:
if (q->type == T_PTR) {
q->type = T_PTR;