diff --git a/bin/dig/host.c b/bin/dig/host.c index 9483f00a2d..1627567869 100644 --- a/bin/dig/host.c +++ b/bin/dig/host.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: host.c,v 1.47 2000/08/14 19:11:03 bwelling Exp $ */ +/* $Id: host.c,v 1.48 2000/08/14 19:17:42 bwelling Exp $ */ #include #include @@ -675,6 +675,7 @@ parse_args(isc_boolean_t is_batchfile, int argc, char **argv) { isc_buffer_putuint8(&b, 0); if (result != ISC_R_SUCCESS) show_usage(); + lookup->rdtype = dns_rdatatype_ptr; } else { notv6: strncpy(lookup->textname, hostname, MXNAME);