mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 12:50:00 -04:00
when doing an ipv6 reverse lookup, set the query type to PTR
This commit is contained in:
parent
6d3f954c57
commit
771218f9ca
1 changed files with 2 additions and 1 deletions
|
|
@ -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 <config.h>
|
||||
#include <stdlib.h>
|
||||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue