From: Mark Andrews Date: Mon, 25 Aug 2014 22:27:24 +0000 (+1000) Subject: 3929. [bug] 'host -a' needed to clear idnoptions. [RT #36963] X-Git-Tag: v9.8.8rc1~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd15390eaeb91460fac0e8e5a377c79eeaa81388;p=thirdparty%2Fbind9.git 3929. [bug] 'host -a' needed to clear idnoptions. [RT #36963] (cherry picked from commit 905ba39e10a8f483d167b992ec31f4c0bf34326e) --- diff --git a/CHANGES b/CHANGES index 8f25e2687d8..221de6c8d1b 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,5 @@ +3929. [bug] 'host -a' needed to clear idnoptions. [RT #36963] + 3928. [test] Improve rndc system test. [RT #36898] 3925. [bug] DS lookup of RFC 1918 empty zones failed. [RT #36917] diff --git a/bin/dig/host.c b/bin/dig/host.c index 391ed802cb5..08f89bf74c9 100644 --- a/bin/dig/host.c +++ b/bin/dig/host.c @@ -765,6 +765,9 @@ parse_args(isc_boolean_t is_batchfile, int argc, char **argv) { if (!lookup->rdtypeset || lookup->rdtype != dns_rdatatype_axfr) lookup->rdtype = dns_rdatatype_any; +#ifdef WITH_IDN + idnoptions = 0; +#endif list_type = dns_rdatatype_any; list_addresses = ISC_FALSE; lookup->rdtypeset = ISC_TRUE;