diff --git a/CHANGES b/CHANGES index d19816ad0a..6ce3f82308 100644 --- a/CHANGES +++ b/CHANGES @@ -72,7 +72,8 @@ 1792. [func] New zone option "notify-delay". Specify a minimum delay between sets of NOTIFY messages. -1791. [placeholder] rt13230 +1791. [bug] 'host -t a' still printed out AAAA and MX records. + [RT #13230] 1790. [cleanup] Move lib/dns/sec/dst up into lib/dns. This should allow parallel make to succeed. diff --git a/bin/dig/host.c b/bin/dig/host.c index 18134020f2..1f2bea6531 100644 --- a/bin/dig/host.c +++ b/bin/dig/host.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: host.c,v 1.99 2004/11/10 22:04:25 marka Exp $ */ +/* $Id: host.c,v 1.100 2005/03/14 23:36:04 marka Exp $ */ #include #include @@ -580,6 +580,7 @@ pre_parse_args(int argc, char **argv) { } } isc_commandline_reset = ISC_TRUE; + isc_commandline_index = 1; } static void @@ -648,6 +649,7 @@ parse_args(isc_boolean_t is_batchfile, int argc, char **argv) { } else list_type = rdtype; list_addresses = ISC_FALSE; + default_lookups = ISC_FALSE; break; case 'c': tr.base = isc_commandline_argument;