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.11.0a1~1382 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=905ba39e10a8f483d167b992ec31f4c0bf34326e;p=thirdparty%2Fbind9.git 3929. [bug] 'host -a' needed to clear idnoptions. [RT #36963] --- diff --git a/CHANGES b/CHANGES index a02efccd659..0529e5439ab 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] 3927. [bug] dig: report PKCS#11 error codes correctly when diff --git a/bin/dig/host.c b/bin/dig/host.c index 73a8fcda594..16e6f2aa0e6 100644 --- a/bin/dig/host.c +++ b/bin/dig/host.c @@ -766,6 +766,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;